Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Payment Requery

Info

As a merchant, you are expected to provide a payment requery end point

Message Method

Description

HTTP POST

Once you have provided the payment requery end point, monnify will call the end point to get the status of a payment request whose status is not known.

Request Parameters

Field

Description

transactionReference

This is the unique reference for the transaction

Sample Request

Code Block
languagejson
{
  "transactionReference": "MFOC1234121212112"
}

Response Parameters

Field

Description

responseCode

This is the response code for the transaction

00 - Successful

01 - Unsuccessful

productCode

This is the product code for the product to be purchased sent to merchant from the request.

paymentRecipientId

This is the payment recipient ID sent in the request

transactionReference

This is the unique reference for the transaction

paymentToken

This is the token to be returned by merchant that is required for the payment to be made.

Sample Response (Successful)

Code Block
languagejson
{
  "responseCode": "00",
  "productCode": "121221212",
  "paymentRecipientId":"{paymentRecipientId}}"
  "transactionReference":"MNFY|66|20210825115615|000002",
  "paymentToken": "{paymentToken}"
}

Response Parameters (Unsuccessful)

Field

Description

responseCode

This is the response code for the transaction

responseMessage

This describes the reason for the failed response

Sample Response (Unsuccessful)

Code Block
languagejson
{
  "responseCode": "01",
  "responseMessage": "Reason for failed response"
}

...