After creating a payment link, you can query the status of the payment transaction. The query transaction status object takes the
paymentId and the bearer token and returns the payment details and status.
Querying the payment can return one of the following statuses:
|Triggered when you create the payment link.|
|Triggered when a customer attempts the payment.|
|Triggered when a customer completes the payment.|
|Triggered when a customer cancels the payment.|
|Triggered when the payment link expires.|
To learn more about the required and optional parameters, see the API reference section.
The query payment status flow works as follows:
- The merchant queries the payment status by making a request to the
- The Payment Links API responds with the payment status.
For sample requests and responses, see the interactive API playground or use the Peach Payments Postman collection:
Updated about 2 months ago