cURL
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": "user@example.com", "phoneNumber": "2347012345678" }, "paidAt": 1691265191 } }
This is the endpoint to verify a Transaction
Reference of the transaction to verify
The response is of type object.
object