Endpoint
GET /payment-status/:transId
Check the status of a payment by transaction ID.
Status Values
| Status | Meaning |
|---|---|
| CREATED | Payment not yet attempted. |
| PENDING | User is in process of payment. |
| SUCCESSFUL | Payment completed successfully. |
| FAILED | Payment failed. |
| EXPIRED | This means 24 hours have passed since the payment link was generated and no successful payment attempt was made in that time interval OR the link got manually expired to prevent payment. |
No payments can be made after the status is SUCCESSFUL or EXPIRED.
Path Parameters
Transaction ID of the payment.
Response
Payment status retrieved successfully
Transaction ID of the payment.
Transaction status
Available options:
CREATED, PENDING, SUCCESSFUL, FAILED, EXPIRED Payment method
Available options:
mobile money, orange money Name of the service in use
Transaction amount
Amount received when Fapshi fees have been deducted
Client name
Client email
URL to redirect after payment
The transaction ID on your application
ID of the client on your application
The webhook you defined for your service
Transaction ID with the payment operator
Date when the payment was initiated
Date when the payment was made