Initiate mobile money push payment
Method: GET
/payments/transactions/initiate
Resource URL:
Method: POST
Headers:
irembopay-secretKey
: secretKeyX-API-Version
: 2
This API does not require authentication.
Request body
Data representation: JSON
accountIdentifier
String
Yes
Identifier of the user account to be charged. Phone numbers should be valid Rwanda phone numbers in the format 07********
paymentProvider
String
Yes
Possible values: MTN
, AIRTEL
invoiceNumber
String
Yes
Invoice Number to be charged to the user.
transactionReference
String
No
Optional transaction reference from the provider
Response body payload
For this endpoint, the "data" payload in the response will have the fields below:
accountIdentifier
String
Yes
Identifier of the user account to be charged. Phone numbers should be valid Rwanda phone numbers in the format 07********
paymentProvider
String
Yes
Possible values: MTN
, AIRTEL
invoiceNumber
String
Yes
Invoice Number to be charged to the user.
amount
double
Yes
Amount of the invoice.
referenceId
String
Yes
IremboPay unique identifier of the request
Error codes
400
PHONE_NUMBER_MISSING
No phone number provided
400
INVOICE_EXPIRED
The invoice has expired
400
INVOICE_ALREADY_PAID
The invoice is already paid
400
INVOICE_ALREADY_IN_BATCH
The invoice is part of a batch invoice and cannot be paid individually.
400
BAD_DATA
Currency of the invoice is not RWF.
400
BAD_PAYMENT_PROVIDER
The value of the payment provider is not valid.
400
INVOICE_MISSING
Invoice number is not provided in the request body
400
PAYMENT_PROVIDER_ERROR
MTN number provided for AIRTEL payment provider or vice versa
400
BAD_PHONE_NUMBER
The account identifier provided is more or less than 12 digits
404
INVOICE_NOT_FOUND
The invoice provided does not exist
Last updated