Wallet to Wallet Transfer

Read on details on wallet to wallet transfer of funds

Users can send funds to another user’s wallet within the same Client. To do so, in the request “type” must be specified as “TRANSFER”.

POST /users/{{userId}}/funds/{{wallet_id}}/transfers

Supports Idempotency Key as part of header to avoid duplicate transaction. If you are creating a transaction with the same request and the same idempotency key again, the endpoint will consider this a duplicate request. It will not create a new transaction but will instead provide details of the initial transaction in the response. ​


200 if a transaction is successfully created or transaction with the same idempotency key and request was created earlier

400 if the idempotency key is greater than 255 char

409 if the idempotency key is the same but the request is different

curl --location -g --request POST '{{url}}/users/{{userId}}/funds/{{wallet_id}}/transfers' \
--header 'X-Client-Id: {{client_id}}' \
--header 'X-Client-Secret:{{client_secret}} ' \
--header 'Content-Type: application/json' \
--header 'X-Idempotency-Key: idempotencykey' \
  "amount": 10,
  "fee_amount": 0,
  "note": "Sample Note",
  "currency": "USD",
  "ip_address": "",
  "type": "TRANSFER",
  "to": {
    "id": "efdc93dd-4019-4f5a-84df-9cfc21d8ce2e",
    "fund_id": "bfdc93dd-4019-4f5a-84df-9cfc21d8ce2c"

Last updated