POST
/
transfer
curl --request POST \
  --url https://api-v2.ziina.com/api/transfer \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "operation_id": "<string>",
  "to_account_ids": [
    "<string>"
  ],
  "to_ziinames": [
    "<string>"
  ],
  "amount": 123,
  "currency_code": "<string>",
  "message": "<string>",
  "transaction_source": "directApi"
}'
{
  "id": "<string>",
  "account_id": "<string>",
  "amount": 123,
  "tip_amount": 123,
  "fee_amount": 123,
  "currency_code": "<string>",
  "created_at": "<string>",
  "status": "requires_payment_instrument",
  "operation_id": "<string>",
  "message": "<string>",
  "redirect_url": "<string>",
  "success_url": "<string>",
  "cancel_url": "<string>",
  "latest_error": {
    "message": "<string>",
    "code": "<string>"
  },
  "allow_tips": true
}

In order to call this endpoint your token must have write_transfers scope.

This endpoint allows to transfer funds between Ziina accounts either by account_id or by ziiname

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

default - application/json

The response is of type object.