get https://sandboxapi.upayments.com/api/v1/get-payment-status/
Overview
This API is designed for checking the status of a previously generated transaction. Its primary function is to update the transaction details from the client's side. However, due to rate limiting, clients are restricted to a maximum of 30 requests per minute. If this limit is exceeded, the client will be blocked from making further requests.
track_id
can be fetched from the returnUrl
, cancelUrl
, notificationUrl
Request Header
Add "Authorization": "Bearer {Token}" to the request header.
Checking Payment Status for 'create-invoice' API
For Create-invoice API, Invoice ID is received in the 'create-invoice' response.
The Invoice ID can be passed with get-payment-status to fetch all the transaction details:
Example
<https://sandbox.upayments.com/api/v1/get-payment-status?invoice_id=48avAzbeLV>