Simulate Custom Payment
This endpoint simulates a custom payment made by a customer to a merchant. Custom payments are used for payment scenarios where the customer provides a reference, such as an invoice number, instead of using the standard Request to Pay flow.
For example, a customer can provide an invoice number to make a payment through OneKhusa. The merchant provides an invoice endpoint that OneKhusa uses to validate and retrieve the invoice details before the payment is processed.
For information on the webhook events used to receive payment updates, see the Account Top-Up Webhook.
Authorizations
Bearer authentication header of the form Bearer Token, Where accessToken is the access token used to authenticate the request.
Headers
Preferred language for the response
Body
The merchant account number that will receive the payment. Required string length: 10 - 15 characters
10 - 15"1500000121"
The connector ID for the transaction. Must be exactly 6 digits
100000 <= x <= 999999104001
The amount of the payment. Must be greater than 0
0 < x <= 500000001000
The email address of the user performing the operation. Required valid email format, max 60 characters
60"merchant@example.com"