Transfers
Use this method to make transfers.
POST[host]/api/v2/transfers |
Transfer funds between accounts
Use this method to transfer funds from one client account or wallet to another.
Funds can only be transferred between client accounts denominated in the same currency.
Request
Header parameters:
Authorization: Bearer <access_token>
Body:
Specify the following parameters for a transfer transaction:
- clientId integer required
The client identifier.
- sourceId integer required
The identifier of a source account from which funds are to be withdrawn.
- destinationId integer required
The identifier of a destination account to which funds are to be deposited.
- amount string required
The transfer amount.
POST[host]/api/v2/transfers
curl --location --request POST 'https://host.name/api/v2/transfers' \
--header 'Authorization: Bearer <token>' \
--data-raw '{
"clientId": 362,
"sourceId": 4365,
"estinationId": 4355,
"amount": "12.123456789"
}'
Response
A response includes a Transaction object providing information about the transfer that was made.