Fiat Payments
Create internal transfer
Changed onCreate an internal Fiat transfer to an existing beneficiary wallet.
post/payment/v1/transfers
Request
- Base URLhttps://api.sandbox.bvnk.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
X-Idempotency-Keystring uuid required
Example:1e74002e-74a1-48fd-b707-147c3187a3e1
Unique request identifier (any string, preferably in UUID format).
Request body
Example request
{
"walletId": "a:24092328494070:G5i4XZ9:1",
"amount": {
"value": 700,
"currency": "USD"
},
"paymentReference": "Payment for invoice 12345",
"instruction": {
"type": "FIAT",
"beneficiary": {
"walletId": "a:87333266494070:G5i9AT9:1"
}
},
"metadata": {
"source": "api",
"orderId": "ORD-48213"
}
}Response
Created
Example response
{
"transactionReference": "123e4567-e89b-12d3-a456-426614174000",
"fee": {
"value": 10,
"currency": "USD"
}
}Changes
- breaking
the
/response's property type changed fromobjecttoarrayfor status - breaking
the
/response's property type changed fromobjecttoarrayfor status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking