cURL
curl --request GET \ --url https://one.telepie.com/v3/{phone_number_id}/payments/{payment_configuration}/{order_id} \ --header 'apikey: <api-key>'
This API is used to get the payment status for the given order id using phone number id.
{ "payments": [ { "reference_id": "order-id", "status": "PENDING", "amount": { "offset": 100, "value": 100 }, "currency": "INR" } ] }
Was this page helpful?