Create Transfer
Changed onThis endpoint allows you to make a transfer (PAY-OUT)
Request
- The document declares no server URL.
- Authnone declared. Required headers: ApiKey, MerchantId, Environment
Headers
Your api key. To create a key, please get into our dashboard. If you don't have access to it, please reach the Support team.
Your merchant ID. This information is available in our dashboard. If you don't have access to it, please reach the Support team.
Allow you to choose between the sandbox mode to perform some tests or the live mode for real world transactions.
Request body
Example request
{
"reference": "ref_2020_11_10_001",
"rejectionId": "ndr_V1StGXR8_Z5jdHi6B-myT",
"amount": 100,
"currency": "XOF",
"destination": {
"type": "mobile_money",
"country": "CI",
"provider": "orange"
},
"overrideBusinessName": "MyBusiness",
"overrideBusinessId": "e9bb247c-6e3f-4a39-a539-78e3bf115994",
"transferInformation": {
"recipient_name_hashmac": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"customer_id_hashmac": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"transaction_purpose": "SALARY"
}
}Response
Idempotent replay. Duplicate protection is enforced for your account, and a payout with this reference and the same payout details already exists: it is returned as it is now, and nothing is created or charged. Only ever sent with the X-Idempotent-Replay: true header and the body field idempotentReplay: true, which is absent from a normal creation. The payout details compared are the destination type, country, beneficiary, operator, requested amount and currency; on IRT and cross-border routes, also the sender identity and, on cross-border, the rateId, unless the reference was recorded by an earlier version of this check, which compared neither; other names (recipient, bank, display name), descriptions and metadata are ignored.
Example response
{
"id": "tr_z1urYtVFgEebtcj8fxp4v",
"createdAt": "2020-10-15T12:09:49.355Z",
"updatedAt": "2020-10-15T12:16:26.128Z",
"reference": "ref_2020_11_10_001",
"status": "successful",
"amount": 100,
"currency": "XOF",
"mode": "live",
"destination": {
"type": "mobile_money",
"country": "CI",
"provider": "orange"
},
"fees": [
{
"id": "lAe5HnFpvOjwdT9vSIgPA",
"amount": 5,
"currency": "XOF"
}
],
"subMerchantId": "submerchant_123",
"transferInformation": {
"recipient_name_hashmac": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"customer_id_hashmac": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"transaction_purpose": "SALARY"
},
"idempotentReplay": true,
"duplicateConfirmation": {
"rejectionId": "ndr_V1StGXR8_Z5jdHi6B-myT"
}
}Changes
- breaking
added the pattern
^[0-9a-fA-F]{64}$to the request property///// - breaking
added the pattern
^[0-9a-fA-F]{64}$to the request property///// - breaking
the
/////response property's maxLength was increased from50to64for the response status - breaking
the
/////response property's maxLength was increased from50to64for the response status - breaking
added to the
response propertyoneOflist for the response status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - warning
the
request property's maxLength was set to255 - warning
removed the request property
///// - warning
removed the optional property
from the response with the status - warning
removed the optional property
/////from the response with the status - warning
added the new
400.00enum value to theresponse property for the response status - warning
added the new
instant_paymentenum value to the/////response property for the response status - warning
added the new
instant_paymentenum value to the/////response property for the response status - warning
added the new
instant_paymentenum value to the/////response property for the response status - info
added the new optional request property
- info
added
bank_transfermobile_moneyairtimeinstant_paymentdiscriminator mapping keys to therequest property - info
added the new
instant_paymentenum value to the request property///// - info
added the new
instant_paymentenum value to the request property///// - info
added the new
instant_paymentenum value to the request property///// - info
the
/////request property's maxLength was increased from50to64 - info
the
/////request property's maxLength was increased from50to64 - info
added to the
request propertyoneOflist - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added
bank_transfermobile_moneyairtimeinstant_paymentdiscriminator mapping keys to theresponse property for the response status - info
removed the
unsupported_actionenum value from theresponse property for the response status - info
the
/////response's property pattern^[0-9a-fA-F]{64}$was added for the status - info
the
/////response's property pattern^[0-9a-fA-F]{64}$was added for the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the success response with the status
- breaking