GET
/
transfer
/
{id}
cURL
curl --request GET \
  --url https://api-v2.ziina.com/api/transfer/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "account_id": "<string>",
  "amount": 123,
  "currency_code": "<string>",
  "created_at": "<string>",
  "status": "requires_payment_instrument",
  "operation_id": "<string>",
  "message": "<string>"
}
In order to call this endpoint your token must have write_transfers scope.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

id of the transfer

Response

default - application/json
id
string
required

id of the transfer

account_id
string
required

Account which will receive the transfer

amount
number
required

Transaction amount. Values must be passed in the base units of their currency. For example, $10.50 should be provided as 1050.

currency_code
string
required

Currency code of the amount to charge. This should be a 3-letter ISO-4217 currency code. For example, if you wish to charge 10 AED, you should pass AED. For more information on supported currencies, please visit the supported currencies page

created_at
string
required

Unix timestamp in milliseconds

status
enum<string>
required

Status of the transaction. You can find more details here

Available options:
requires_payment_instrument,
requires_user_action,
pending,
completed,
failed,
canceled
operation_id
string
required

Unique client generated UUID. In case of retries provide the same operation_id

message
string

Optional text comment attached to a transfer. Displayed to the user in the app as part of the transaction details.