cURL
curl --request GET \ --url https://api.stan-app.fr/v1/payments \ --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" } ]
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
Successful operation
The response is of type A payment · object[].
A payment · object[]