Process a payment

Changed on
post/payments/{reference}

Request

  • Base URL
    https://api.notchpay.co
  • URL
    https://api.notchpay.co/payments/{reference}
  • Auth
    • API key in header Authorization
    • or API key in header X-Sync

Path parameters

referencestring required

Reference of the transaction

Request body

channelstring required
client_ipstring

Example request

{
  "channel": "cm.mtn",
  "data": {
    "country": "CM"
  }
}

Response

Payment processing initiated

statusstring required
messagestring required
codeinteger required
transactionPayment required(unresolved $ref)

Changes

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the response's body type changed from no type to object for status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status