curl --request POST \
--url https://api-test.paiera.com/v1/refund/list \
--header 'Authorization: Basic YOUR_BASE64_CREDENTIALS' \
--header 'Content-Type: application/json' \
--data '{
"page_no": 1,
"page_size": 20
}'
{
"code": "success",
"message": "success",
"timestamp": 1793145600000,
"success": true,
"data": {
"page_no": 1,
"page_size": 20,
"total_count": 1,
"page_list": [
{
"refund_id": "refund_example_001",
"refund_reference_id": "refund_example_001",
"payment_reference_id": "payment_example_001",
"status": "PROCESSING",
"refund_amount": "10.000000",
"refund_currency": "USDT"
}
]
}
}
Stablecoin Checkout
List Refunds
Filter and paginate refunds.
curl --request POST \
--url https://api-test.paiera.com/v1/refund/list \
--header 'Authorization: Basic YOUR_BASE64_CREDENTIALS' \
--header 'Content-Type: application/json' \
--data '{
"page_no": 1,
"page_size": 20
}'
{
"code": "success",
"message": "success",
"timestamp": 1793145600000,
"success": true,
"data": {
"page_no": 1,
"page_size": 20,
"total_count": 1,
"page_list": [
{
"refund_id": "refund_example_001",
"refund_reference_id": "refund_example_001",
"payment_reference_id": "payment_example_001",
"status": "PROCESSING",
"refund_amount": "10.000000",
"refund_currency": "USDT"
}
]
}
}
The JSON body is optional. Defaults are page 1 and 20 rows, capped at 100. The list does not populate the detail timeline. OpenAPI removes
See Error codes and Webhooks.
tx_hash_url.
Body Parameters
string
Optional time zone, for example
Asia/Shanghai.integer
Default 1
Page number
integer
Default 20; capped at 100
Page size
string(64)
Original payment transaction ID
string(64)
Platform refund ID
string(64)
Merchant refund reference
string(64)
Original merchant payment reference
string
19 characters; yyyy-MM-dd HH:mm:ss
Created-time lower bound
string
Created-time upper bound
Response
The standard response envelope contains a paginated object indata. See Refund detail and list item for all item fields. Pagination fields are data.page_no, data.page_size, data.total_count and data.page_list. Check success and code even on HTTP 200.
string
Business result code. Use this value for programmatic handling.
string
Result description; do not parse the message to classify failures.
string
Included when tracing context exists.
integer
Response time as Unix epoch milliseconds.
boolean
Whether the operation succeeded; check this even on HTTP 200.
object
Endpoint-specific business data; optional fields depend on state and availability.
Show Response fields
Show Response fields
integer
Current page number.
integer
Page size; defaults and limits are endpoint-specific.
integer
Total matching records; parse without losing int64 precision.
object[]
Current result rows; a successful no-match query returns [].
Show Item fields
Show Item fields
string(32)
Merchant user ID.
string(256)
Merchant name.
string(64)
Platform refund ID.
string(64)
Merchant refund reference. Original input up to 64.
string(64)
Original merchant payment reference. Original input up to 64.
string(64)
Original payment transaction ID.
string(32)
Refund status. External refund status.
string
Refund amount. Currency-specific formatting.
string(16)
Refund currency. Currency code.
string
Fee amount. Currency-specific formatting.
string(16)
Fee currency. Currency code.
string
Total deducted amount. Currency-specific formatting.
string(256)
Refund reason. Creation input up to 256.
string(256)
Refund receive address.
string(64)
Refund network.
string(256)
Transaction hash. After an on-chain transaction exists.
string(1024)
Failure reason. When a failure reason exists.
string
Creation time. 19 / 24.
string
Completion time. 19 / 24. After completion.
curl --request POST \
--url https://api-test.paiera.com/v1/refund/list \
--header 'Authorization: Basic YOUR_BASE64_CREDENTIALS' \
--header 'Content-Type: application/json' \
--data '{
"page_no": 1,
"page_size": 20
}'
{
"code": "success",
"message": "success",
"timestamp": 1793145600000,
"success": true,
"data": {
"page_no": 1,
"page_size": 20,
"total_count": 1,
"page_list": [
{
"refund_id": "refund_example_001",
"refund_reference_id": "refund_example_001",
"payment_reference_id": "payment_example_001",
"status": "PROCESSING",
"refund_amount": "10.000000",
"refund_currency": "USDT"
}
]
}
}
