Authorize transfer collection
curl --request POST \
--url https://api.business.bumxpress.com/transfers/{transfer_id}/authorize \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--header 'X-Api-Secret: <api-key>' \
--data '
{
"otp_code": "654321"
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"merchant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"customer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"quote_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"merchant_reference": "<string>",
"merchant_metadata": {},
"status": "pending",
"payin_status": "<string>",
"payin_action": {
"type": "redirect",
"redirect_url": "<string>",
"app_links": {},
"ussd_code": "<string>",
"message": "<string>",
"next_action": "<string>",
"otp_required": true
},
"payout_status": "<string>",
"send_amount": "10000",
"send_currency": "XAF",
"receive_amount": "10000",
"receive_currency": "XAF",
"payin_amount": "10000",
"payin_currency": "XAF",
"payout_amount": "10000",
"payout_currency": "XAF",
"corridor_code": "<string>",
"corridor_type": "<string>",
"execution": {},
"payer": {
"country_code": "CM",
"rail_type": "mobile_money",
"phone": "+237670000000",
"operator_code": "CM_MTN_MOMO",
"bank_name": "<string>",
"bank_code": "<string>",
"account_name": "<string>",
"account_number": "<string>"
},
"recipient": {
"country_code": "CM",
"rail_type": "mobile_money",
"recipient_type": "individual",
"phone": "+237670000000",
"operator_code": "CM_MTN_MOMO",
"bank_name": "<string>",
"bank_code": "<string>",
"account_name": "<string>",
"account_number": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"business_name": "<string>",
"email": "jsmith@example.com",
"recipient_nationality_code": "CM",
"address_line1": "<string>",
"city": "<string>"
},
"pricing": {},
"history": [
{
"status": "<string>",
"reason": "The phone number is invalid or not registered for mobile money. Check the number and try again.",
"created_at": "2023-11-07T05:31:56Z"
}
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}{
"error": {
"code": "bad_request",
"reason": "missing_field",
"message": "quote_id is required",
"retryable": false,
"param": "quote_id"
}
}{
"error": {
"code": "bad_request",
"reason": "missing_field",
"message": "quote_id is required",
"retryable": false,
"param": "quote_id"
}
}{
"error": {
"code": "bad_request",
"reason": "missing_field",
"message": "quote_id is required",
"retryable": false,
"param": "quote_id"
}
}{
"error": {
"code": "bad_request",
"reason": "missing_field",
"message": "quote_id is required",
"retryable": false,
"param": "quote_id"
}
}{
"error": {
"code": "bad_request",
"reason": "missing_field",
"message": "quote_id is required",
"retryable": false,
"param": "quote_id"
}
}{
"error": {
"code": "bad_request",
"reason": "missing_field",
"message": "quote_id is required",
"retryable": false,
"param": "quote_id"
}
}{
"error": {
"code": "bad_request",
"reason": "missing_field",
"message": "quote_id is required",
"retryable": false,
"param": "quote_id"
}
}Transfers
Authorize transfer collection
Send the code the payer received after the collection leg was submitted.
POST
/
transfers
/
{transfer_id}
/
authorize
Authorize transfer collection
curl --request POST \
--url https://api.business.bumxpress.com/transfers/{transfer_id}/authorize \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--header 'X-Api-Secret: <api-key>' \
--data '
{
"otp_code": "654321"
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"merchant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"customer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"quote_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"merchant_reference": "<string>",
"merchant_metadata": {},
"status": "pending",
"payin_status": "<string>",
"payin_action": {
"type": "redirect",
"redirect_url": "<string>",
"app_links": {},
"ussd_code": "<string>",
"message": "<string>",
"next_action": "<string>",
"otp_required": true
},
"payout_status": "<string>",
"send_amount": "10000",
"send_currency": "XAF",
"receive_amount": "10000",
"receive_currency": "XAF",
"payin_amount": "10000",
"payin_currency": "XAF",
"payout_amount": "10000",
"payout_currency": "XAF",
"corridor_code": "<string>",
"corridor_type": "<string>",
"execution": {},
"payer": {
"country_code": "CM",
"rail_type": "mobile_money",
"phone": "+237670000000",
"operator_code": "CM_MTN_MOMO",
"bank_name": "<string>",
"bank_code": "<string>",
"account_name": "<string>",
"account_number": "<string>"
},
"recipient": {
"country_code": "CM",
"rail_type": "mobile_money",
"recipient_type": "individual",
"phone": "+237670000000",
"operator_code": "CM_MTN_MOMO",
"bank_name": "<string>",
"bank_code": "<string>",
"account_name": "<string>",
"account_number": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"business_name": "<string>",
"email": "jsmith@example.com",
"recipient_nationality_code": "CM",
"address_line1": "<string>",
"city": "<string>"
},
"pricing": {},
"history": [
{
"status": "<string>",
"reason": "The phone number is invalid or not registered for mobile money. Check the number and try again.",
"created_at": "2023-11-07T05:31:56Z"
}
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}{
"error": {
"code": "bad_request",
"reason": "missing_field",
"message": "quote_id is required",
"retryable": false,
"param": "quote_id"
}
}{
"error": {
"code": "bad_request",
"reason": "missing_field",
"message": "quote_id is required",
"retryable": false,
"param": "quote_id"
}
}{
"error": {
"code": "bad_request",
"reason": "missing_field",
"message": "quote_id is required",
"retryable": false,
"param": "quote_id"
}
}{
"error": {
"code": "bad_request",
"reason": "missing_field",
"message": "quote_id is required",
"retryable": false,
"param": "quote_id"
}
}{
"error": {
"code": "bad_request",
"reason": "missing_field",
"message": "quote_id is required",
"retryable": false,
"param": "quote_id"
}
}{
"error": {
"code": "bad_request",
"reason": "missing_field",
"message": "quote_id is required",
"retryable": false,
"param": "quote_id"
}
}{
"error": {
"code": "bad_request",
"reason": "missing_field",
"message": "quote_id is required",
"retryable": false,
"param": "quote_id"
}
}Use this endpoint only when a transfer’s
payin_action.type is submit_otp. The payer has received a code from the operator; send it here. See Customer actions for the full flow.
- The transfer stays
collecting. The collection result arrives by webhook orGET /transfers/{transfer_id}, as for any transfer. - No
Idempotency-Keyis needed. A transfer accepts one code; sending another after it was accepted returns409. - A wrong code returns
422and leaves the transfer waiting, so the payer can try again. 503with reasonprovider_outcome_unknownmeans the provider did not confirm the code. Fetch the transfer before retrying: ifpayin_actionis gone, the code was accepted.
Authorizations
Body
application/json
Response
The transfer, still collecting, with payin_action removed once the code is accepted.
Last modified on October 30, 2026