External transfers

Use external transfers to send funds to external accounts. Unlike international transfers, recipients receive the money in the same currency as the one sent. For example, if you transfer USD to a bank account in another country, the recipient gets USD.

Add an external account for external transfers before you initiate the transfer request. Then include the sender’s account id, customer id, and the recipient’s external account id in your transfer request.

The source object contains the sender’s details, and the destination object contains the recipient’s details. Also, your transfer can be ACH or Wire transfer:

curl --request POST \
     --url https://api.gravv.xyz/v1/transfer \
     --header 'Api-Key: <Api Key>' \
     --header 'Idempotency-Key: 979879887678789_attempt_1' \
     --header 'content-type: application/json' \
     --data '
{
  "source": {
    "source_type": "internal_account",
    "id": "b9c2cb0d-e09a-496f-8655-d8c4b7aaf2f8"
  },
  "destination": {
    "destination_type": "external_account",
    "id": "74943275-6874-41b4-bd71-13d6cf5ed802",
    "rail": "wire"
  },
  "amount": 1.5,
  "client_reference": "099283849s",
  "description": "Transfer Testing",
  "customer_id": "bb6c6022-f1d8-492f-80f0-7547134bb42f"
}
'