Integration Flow

Learn how to transfer money from a ZWITCH wallet to another ZWITCH wallet.

You can transfer money from a ZWITCH wallet to another directly by making a Create Transfer API call. There is no need to add a beneficiary when making a wallet-to-wallet transfer.

Use the below endpoint to make a wallet-to-wallet transfer.

POST: https://api.zwitch.io/v1/transfers

Below is a sample request and response for the Wallet-to-wallet Transfer API.

{
  "type": "wallet",
  "debit_account_id": "va_Ht6hBeRJSkUakj9jqJLu4JbWF",
  "credit_account_id": "va_lV5JpIu8AVMNfPexv4W8SyuOv",
  "amount": 3,
  "currency_code": "inr",
  "payment_remark": "Haircut and beard styling",
  "metadata": {
    "key_1": "DD",
    "key_2": "XOF"
  },
  "merchant_reference_id": "12345789012"
}
{
  "id": "tr_6RJ1O16qj9IdUlLW1RhHobqFh",
  "object": "transfer",
  "type": "wallet",
  "amount": 3,
  "debit_account_id": "va_Ht6hBeRJSkUakj9jqJLu4JbWF",
  "credit_account_id": "va_lV5JpIu8AVMNfPexv4W8SyuOv",
  "status": "success",
  "currency_code": "inr",
  "payment_remark": "Haircut and beard styling",
  "paid_to": "363611122334567",
  "otp_attempts": 0,
  "metadata": {
    "key_1": "DD",
    "key_2": "XOF"
  },
  "merchant_reference_id": "1000215",
  "transacted_at": 1657003857,
  "is_sandbox": true,
  "created_at": 1657003857
}