GET
/
v1
/
payments
/
{payment_id}
curl --request GET \
  --url https://api.stan-app.fr/v1/payments/{payment_id} \
  --header 'Authorization: Basic <encoded-value>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "order_id": "<string>",
  "amount": 123,
  "payment_status": "payment_prepared",
  "merchant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "customer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "is_refundable": true,
  "refunded_amount": 123,
  "created_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

payment_id
string
required

UID of the payment

Response

200
application/json
successful operation

The response is of type object.