Skip to main content
POST
Process in-app payment

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

In-app payment details

amount
string
required

Accepts decimal format like "150.00" or "150"

Example:

"150.00"

card_serial
string
required

Supports any alphanumeric: CARD0001, 48290173K, etc.

Example:

"CARD0001"

currency
string
required
Example:

"SLE"

merchant_id
string
required
Example:

"MERCHANT001"

pin
string
required
Example:

"1234"

processor_id
string
required

Processor account that receives the funds

Example:

"proc-uuid-123"

terminal_id
string
required
Example:

"TERM001"

transaction_ref
string
required
Example:

"POS-TXN-123"

merchant_name
string

Display name for receipts

Example:

"ABC Store"

metadata
object

Response

Payment approved

The response is of type object.