How it works
- Create and activate a card (Create a Card, then poll Get a Card until
ACTIVE). - POST a simulation with
amountandtype(DEBITorCREDIT). - PayVessel processes the event: the transaction is recorded and the card balance is refreshed.
- Verify with Get Card Transactions.
Request fields
| Field | Required | Description |
|---|---|---|
amount | Yes | USD amount (e.g. "1.50") |
type | No | DEBIT (default) = spend; CREDIT = refund/credit |
When to use
- End-to-end testing of spend notifications in your app
- QA of transaction lists and balances in sandbox
- Demo environments without real card networks
Limitations
- Card must be ACTIVE (not pending activation)
- Balance shown in the response may change again after the webhook syncs
- Production requests return a validation error
API Reference: Try it
Run this endpoint in the browser (sandbox)
