Verify Payment
Verify transactions after payments using Patricia Business verify API
Verify payment
It's always advisable to verify payments after payment has been made before issuing value to your customer. This way, the merchant is certain that they are issuing value on only valid payments and not false positives.
To verify a payment, the merchant is required to send the unique reference
generated by Patricia Business when the transaction was initiated.
Endpoint
GET /v1/payment/verify/{business_reference}
Parameter definition
Parameter | Type | Required | Description |
---|---|---|---|
business_refernece | string | true | The reference of the payment transaction. |
Response Object
{
"status": true,
"message": "Payment verification successful.",
"data": {
"domain": "live",
"reference": "PAY_phSfI12345",
"authorization_code": "a6v2Ut234",
"status": "processing",
"remark": "-",
"business": {
"name": "Imagine Dragons Inc.",
"code": "914118",
"domain": "live"
},
"customer": {
"full_name": "Jon Bellion",
"email": "[email protected]",
"code": "CUS_MYCODE1"
},
"transaction": {
"charged_amount": "10000.00",
"amount_paid": "4700",
"currency": "NGN",
"charged_amount_in_crypto": "0.00044911",
"amount_paid_in_crypto": "0.00033108",
"payment_method": {
"code": "crypto_bitcoin",
"currency": "BTC"
},
"crypto_transaction_hash": "gift345gid",
"crypto_confirmations": 2,
"metadata": null
},
"created_at": "2021-12-15T16:34:48.000000Z"
}
}
Updated almost 3 years ago