Skip to content

List payments

GET
/v4/payments/
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.

projectId
string
>= 1 characters

Project identifier for scoping results

limit
integer
>= 1 <= 100

Page size

offset
integer

Page offset

sortBy
string
Allowed values: createdAt updatedAt amount status

Sort field

sortOrder
string
Allowed values: asc desc

Sort order

status
string
>= 1 characters

Payment status filter

methodType
string
Allowed values: card wallet bank_transfer

Payment method type

brand
string
>= 1 characters

Payment brand

provider
string
>= 1 characters

Provider identifier

direction
string
Allowed values: payin payout

Payment direction filter

customerId
string
>= 1 characters

Customer identifier

order_id
string
>= 1 characters

Filter by order ID

payment_method_key
string
>= 1 characters

Filter by payment method key

dateFrom
string
>= 1 characters

Filter start date

dateTo
string
>= 1 characters

Filter end date

q
string
>= 1 characters

Free-text query

Default Response

Media typeapplication/json
object
limit
required
number
offset
required
number
payments
required
Array<object>
object
amount
required
Any of:

Decimal amount encoded as a string

string
/^[0-9]+(\.[0-9]{1,4})?$/
completedAt
Any of:

ISO 8601 timestamp

string format: date-time
createdAt
Any of:

ISO 8601 timestamp

string format: date-time
currency
required

ISO 4217 currency code

string
>= 3 characters <= 3 characters
customerId
string
nullable
customerName
string
nullable
description
string
nullable
direction
string
nullable
errorCode
string
nullable
errorMessage
string
nullable
id
required
string
metadata
object
key
additional properties
orderId
string
nullable
paymentMethod
string
nullable
paymentMethodKey
string
nullable
projectId
string
nullable
provider
string
nullable
providerInstanceId
string
nullable
providerPaymentId
string
nullable
status
required
string
tenantId
string
nullable
updatedAt
Any of:

ISO 8601 timestamp

string format: date-time
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"
}