Create internal transfer
Changed onCreates an internal stablecoin and fiat transfer between customer's and partner's wallets.
Payment combinations:
-
Crypto to crypto
-
Fiat to fiat
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
Client-generated unique identifier for the request in UUID format. Ensures that retried requests are not processed more than once.
Request body
Example request
{
"beneficiary": {
"walletId": "a:24122329329347:HsdJVhW:1"
},
"metadata": {
"source": "api",
"orderId": "ORD-48213"
}
}Response
Transfer created successfully
Example response
{
"type": "payment:transfer",
"method": "BOOK",
"fees": {
"processingFee": {
"amount": 100.5,
"currency": "USD"
}
},
"metadata": {
"source": "api",
"orderId": "ORD-48213"
}
}Changes
- breaking
for the
headerrequest parameterIdempotency-Key, the minLength was increased from3to36 - 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