GladysDevelopers

List payments

Your app's payments, newest first, one page at a time.

Choose a TEST app to send requests from the playground.
get/payments

Your app's payments, newest first, one page at a time.

Authorization

BearerAuth
headerAuthorizationBearer <token>

An access token from POST /oauth/token: client_credentials for your own app, or authorization_code for a user who connected it.

Query Parameters

page?integer

Page number, from 1

Default1
limit?integer

Payments per page, at most 100

Default10
sort?string

created_at or amount; prefix with - for descending

Default"-created_at"
status?string

Only payments in this status

Value in"CREATED""AUTHORIZED""CAPTURED""CANCELLED""EXPIRED"
environment?string

Only TEST or only LIVE payments

Value in"TEST""LIVE"
capture_method?string

Only this capture method

Value in"AUTOMATIC""MANUAL"
merchant_reference?string

Only payments created with this merchant_reference

Response Body

OK

application/json
  1. response
data?array<>
error?
message?string
meta?
success?boolean
curl -X GET "https://example.com/payments"
{  "error": {    "code": "string",    "details": {      "property1": "string",      "property2": "string"    },    "message": "string"  },  "message": "string",  "success": true,  "data": [    {      "amount": "1500.00",      "authorized_at": "string",      "cancellation_reason": "string",      "cancelled_at": "string",      "capture_method": "AUTOMATIC",      "captured_at": "string",      "checkout_url": "string",      "created_at": "string",      "currency": "string",      "description": "string",      "environment": "LIVE",      "expires_at": "string",      "fee": "1500.00",      "merchant_reference": "string",      "metadata": "string",      "net_amount": "1500.00",      "reference": "string",      "refundable_amount": "1500.00",      "refunded_amount": "1500.00",      "status": "CREATED"    }  ],  "meta": {    "pagination": {      "next_cursor": "string",      "page": 0,      "per_page": 0,      "total_items": 0,      "total_pages": 0    }  }}