Logo PopinaPopina API

Get status of a payment transaction

Get status of a payment transaction (wether it was successful or has fail), and related data (paid amount, failure reason if it exists, left to pay on order after successful payment, etc...)

GET/v1/transactions/{id}/status
authorization<token>

To get an API key, please contact us. We'll be happy to help you.

In: header

Path Parameters

idstring

Id of transaction

Formatuuid

Response Body

application/json

curl -X GET "http://localhost:4006/v1/transactions/497f6eca-6276-4993-bfeb-53cbbbba6f08/status"
{
  "status": "validated",
  "failureReason": null,
  "leftToPay": 3000,
  "amountPaid": 1000,
  "amountOrder": 4000,
  "date": "2024-03-08T10:31:18.879Z"
}