Transfers
Use this method to make transfers.
POST[host]/api/v2/my/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 user accounts denominated in the same currency.
Request
Header parameters:
Authorization: Bearer <access_token>
Body:
Specify the following parameters for a transfer operation:
- amount string required
The transfer amount.
- sourceAccountId integer required
The identifier of a source account from which funds are to be transferred.
- sourceCurrencyId string
The identifier of a currency in which a source account is denominated.
- isInternal boolean required
If
true
, a transfer is internal; otherwise,false
.- destinationAccountId integer
This parameter is required if isInternal is set to
false
.The identifier of a destination account to which funds are to be transferred.
- destinationCurrencyId integer
The identifier of a currency in which a destination account is denominated.
- destinationAccountNumber string
Applicable only for internal transfers.
This parameter is required if isInternal is set to
true
.The number of a destination account to which funds are to be transferred.
- destinationClientId integer
Applicable only for internal transfers.
The identifier of a client to which funds are to be transferred.
- destinationEmail integer
Applicable only for internal transfers.
The email of a client to which funds are to be transferred.
- platformId integer
The identifier of a product platform on which a transfer is made (such as
eWallet
).
POST[host]/api/v2/my/transfers
curl --location --request POST 'https://host.name/api/v2/my/transfers' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <token>' \
--data-raw'{
"amount": "100",
"isInternal": 1,
"platformId": 1,
"sourceAccountId": 6455,
"destinationAccountNumber": 3134,
"sourceCurrencyId": 840,
"destinationCurrencyId": 840,
"destinationEmail": "user@example.com"
}'
Response
A response includes a Transaction object providing information about the transfer that was made.