curl --request GET \
--url https://sandbox-api.payfonte.com/payments/v1/payments/verify/{reference} \
--header 'client-id: <api-key>' \
--header 'client-secret: <api-key>'{
"data": {
"status": "success",
"reference": "<string>",
"externalReference": "<string>",
"amount": 100000,
"currency": "USD, NGN, XOF, XAF",
"user": {
"name": "Example User",
"email": "[email protected]",
"phoneNumber": "2347012345678"
},
"paidAt": 1691265191
}
}This is the endpoint to verify a Transaction
curl --request GET \
--url https://sandbox-api.payfonte.com/payments/v1/payments/verify/{reference} \
--header 'client-id: <api-key>' \
--header 'client-secret: <api-key>'{
"data": {
"status": "success",
"reference": "<string>",
"externalReference": "<string>",
"amount": 100000,
"currency": "USD, NGN, XOF, XAF",
"user": {
"name": "Example User",
"email": "[email protected]",
"phoneNumber": "2347012345678"
},
"paidAt": 1691265191
}
}Reference of the transaction to verify
Show child attributes
Status of the transaction
success, failed, pending Transaction Reference
This is the reference sent to us by the merchant when the transaction was created
Amount should be in the subunit of the supported currency i.e value * 100
100000
3 character currency code
"NGN"
"USD"
"XOF"
"XAF"
Show child attributes
customer's name
"Example User"
customer's email
customer's phone number
"2347012345678"
Unix timestamp value for when payment was verified from the provider
1691265191