Skip to main content
POST
Withdraws funds from a virtual card back to your USD wallet balance.
Requires an Idempotency-Key header.

Authorizations

X-Api-Key
string
header
required

Your API key (yativo_pk_...) from Developers → API Keys. Send together with X-Api-Secret.

X-Api-Secret
string
header
required

Your API secret (yativo_sk_...), shown once when the key is created.

Headers

Idempotency-Key
string
required

A unique string per request to ensure idempotent processing.

Body

application/json
cardId
string
required

The virtual card ID to withdraw from.

amount
number
required

Amount to withdraw from the card. Minimum 1.00.

Required range: x >= 1

Response

200 - application/json

Withdrawal successful

status
string
status_code
integer
message
string
data
object