Endpoint
POST /expire-pay
Expire a payment link to prevent further payments.
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| transId | Yes | string | ID of the transaction to expire |
Response
- Returns details of the expired transaction if successful.
- Returns
400 Bad Requestwith message"Link already expired"if the transaction was already expired.
Body
application/json
Transaction ID to expire.
Response
Payment link expired successfully
Transaction ID of the payment.
Transaction status
Available options:
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