Transfers

Initiate a transfer of funds #

Initiate a transfer of funds from source entity to destination entity.

Authorizations

bearer

#
HTTP: bearer #

HTTP Authorization Scheme: bearer

Bearer format: JWT

header Parameters #
Authorization requiredstringBearer token (API Key or OAuth2 Access Token).
Cko-Idempotency-Key requiredstringAn idempotency key for safely retrying transfer requests.
Request Body schema: application/json #

Request body for initiating a transfer of funds.

transfer_type requiredstring Enum:”commission””promotion””refund”The type of transfer.
source requiredobjectThe object representing the source of the funds involved in the transfer.
destination requiredobjectThe object representing the destination of the funds involved in the transfer.
referencestring <= 50 characters A reference you can use later to identify this transfer (max 50 chars).
Responses #
201 Transfer successfully created.
Response Schema: application/json #
id requiredstringThe id representing the initiated transfer.
status requiredstring Enum:”pending””completed””rejected”The current state of the initiated transfer.
_links requiredobjectLinks related to the transfer.
400 Bad Request
Response Schema: application/json #
request_idrequiredstringThe unique request identifier.
error_typerequiredstringThe error type.
error_codesrequiredArray of stringsThe error codes.

401 Unauthorized

422 Invalid data was sent.
Response Schema: application/json #
request_idrequiredstringThe unique request identifier.
error_typerequiredstringThe error type.
error_codesrequiredArray of stringsThe error codes.

#

Retrieve a transfer #

Retrieve transfer details using the transfer identifier.

Authorizations

bearer

#
HTTP: bearer #

HTTP Authorization Scheme: bearer

Bearer format: JWT

path Parameters #
idr equiredstring Example: tra_y3oqhf46pyzuxjbcn2giaqnb4The transfer identifier.
header Parameters #
Authorization requiredstring
Responses #
200 Transfer found
Response Schema: application/json #
idrequiredstringThe transfer identifier.
referencerequiredstringA unique reference used to identify this transfer.
statusrequiredstring Enum:”pending””completed””rejected”The current state of the initiated transfer.
transfer_typerequiredstring Enum:”commission””promotion””refund”The type of transfer.
requested_onrequiredstringThe date the transfer was requested on.
reason_codesArray of stringsAn optional set of reason codes describing why the transfer is in its current state.
sourcerequiredobjectThe source of the funds involved in the transfer.
destinationrequiredobjectThe destination of the funds involved in the transfer.
_linksrequiredobjectLinks related to the transfer.
400 Bad Request
Response Schema: application/json #
request_idrequiredstringThe unique request identifier.
error_typerequiredstringThe error type.
error_codesrequiredArray of stringsThe error codes.

401 Unauthorized

404 Transfer not found
Response Schema: application/json #
request_idrequiredstringThe unique request identifier.
error_typerequiredstringThe error type.
error_codesrequiredArray of stringsThe error codes.
422 Invalid data was sent
Response Schema: application/json #
request_idrequiredstringThe unique request identifier.
error_typerequiredstringThe error type.
error_codesrequiredArray of stringsThe error codes.

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to Top