Skip to main content
POST
/
pms
/
api
/
external
/
request
/
virtual-cards
/
{card_id}
/
mock-transaction
Simulate Card Transaction
curl --request POST \
  --url https://api.payvessel.com/pms/api/external/request/virtual-cards/{card_id}/mock-transaction/ \
  --header 'Content-Type: <content-type>' \
  --header 'api-key: <api-key>' \
  --header 'api-secret: <api-secret>' \
  --data '
{
  "amount": "1.50",
  "type": "DEBIT"
}
'
{
  "status": true,
  "message": "Simulated transaction sent.",
  "data": {
    "card_id": "7f219a25-d968-4894-9a8b-ba83fa0bf6ec",
    "amount": "1.50",
    "currency": "USD",
    "type": "DEBIT",
    "card_balance": "8.50",
    "message": "Simulated transaction sent."
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.payvessel.com/llms.txt

Use this file to discover all available pages before exploring further.

Sandbox only. Triggers a simulated card spend or credit at the issuer; balance and transaction history update when the issuer webhook is processed.

Headers

api-key
string
required

Your Payvessel public API key

api-secret
string
required

Your Payvessel secret

Content-Type
enum<string>
required

Request content type

Available options:
application/json

Path Parameters

card_id
string<uuid>
required

PayVessel card ID

Body

application/json
amount
string
required

Transaction amount in USD (e.g. 1.50)

Example:

"1.50"

type
enum<string>
default:DEBIT

DEBIT simulates a card spend; CREDIT simulates a refund or credit

Available options:
DEBIT,
CREDIT

Response

Simulation accepted

status
boolean

Indicates whether the request succeeded

message
string

Human-readable result message

data
object

Simulation result