Skip to main content
POST
/
payments
/
{reference}
Process a payment
curl --request POST \
  --url https://api.notchpay.co/payments/{reference} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "channel": "cm.mtn",
  "data": {
    "phone": 237680000000,
    "account_number": "<string>",
    "country": "CM"
  },
  "client_ip": "<string>"
}
'
{
  "status": "Accepted",
  "message": "Payment processing initiated",
  "code": 202,
  "transaction": "<unknown>"
}

Authorizations

Authorization
string
header
required

Path Parameters

reference
string
required

Reference of the transaction

Body

application/json
channel
string
required
Example:

"cm.mtn"

data
object
client_ip
string

Response

Payment processing initiated

status
string
required
Example:

"Accepted"

message
string
required
Example:

"Payment processing initiated"

code
integer
required
Example:

202

transaction
any
required