List payments
GET
/v4/payments/
const url = 'https://console.orangepill.cloud/v4/payments/?sortBy=createdAt&sortOrder=asc&methodType=card&direction=payin';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://console.orangepill.cloud/v4/payments/?sortBy=createdAt&sortOrder=asc&methodType=card&direction=payin' \ --header 'Authorization: Bearer <token>'List payments for the current tenant with pagination and filters.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”projectId
string
Project identifier for scoping results
limit
integer
Page size
offset
integer
Page offset
sortBy
string
Sort field
sortOrder
string
Sort order
status
string
Payment status filter
methodType
string
Payment method type
brand
string
Payment brand
provider
string
Provider identifier
direction
string
Payment direction filter
customerId
string
Customer identifier
order_id
string
Filter by order ID
payment_method_key
string
Filter by payment method key
dateFrom
string
Filter start date
dateTo
string
Filter end date
q
string
Free-text query
Responses
Section titled “Responses”Default Response
Media typeapplication/json
object
limit
required
number
offset
required
number
payments
required
Array<object>
object
amount
required
currency
required
ISO 4217 currency code
string
customerId
string
customerName
string
description
string
direction
string
errorCode
string
errorMessage
string
id
required
string
metadata
object
key
additional properties
orderId
string
paymentMethod
string
paymentMethodKey
string
projectId
string
provider
string
providerInstanceId
string
providerPaymentId
string
status
required
string
tenantId
string
total
required
number
Example generated
{ "limit": 1, "offset": 1, "payments": [ { "amount": "example", "completedAt": "2026-04-15T12:00:00Z", "createdAt": "2026-04-15T12:00:00Z", "currency": "example", "customerId": "example", "customerName": "example", "description": "example", "direction": "example", "errorCode": "example", "errorMessage": "example", "id": "example", "metadata": { "additionalProperty": "example" }, "orderId": "example", "paymentMethod": "example", "paymentMethodKey": "example", "projectId": "example", "provider": "example", "providerInstanceId": "example", "providerPaymentId": "example", "status": "example", "tenantId": "example", "updatedAt": "2026-04-15T12:00:00Z" } ], "total": 1}Default Response
Media typeapplication/json
object
error
required
string
message
required
string
statusCode
required
integer
Example generated
{ "error": "example", "message": "example", "statusCode": 1}Default Response
Media typeapplication/json
object
error
required
Error message
string
message
string
Example generated
{ "error": "example", "message": "example"}