Retrieve Refund
Supply at least one identifier; if both are supplied they must identify the same refund. OpenAPI removes tx_hash_url and the detail timeline. See response objects.

Authorizations

Authorization
string
header
required

Use HTTP Basic authentication with api_key as username and api_secret as password. Obtain credentials in Portal > Settings > Developer.

Query Parameters

refund_id
string

Paiera refund ID. Provide at least one identifier; both identifiers may be provided, but they must identify the same refund.

refund_reference_id
string

Merchant refund reference. Provide at least one identifier; both identifiers may be provided, but they must identify the same refund.

Response

200 - application/json

Query Refund successful

code
string
required

Business result code; success indicates a successful request

Allowed value: "success"
message
string
required

Result message; success indicates a successful request

Allowed value: "success"
timestamp
integer<int64>
required

Response time as a Unix timestamp in milliseconds

data
object
required

Declared response fields; null values may be omitted. Supply at least one identifier; if both are supplied they must identify the same refund. OpenAPI removes tx_hash_url and the detail timeline.

success
boolean
required

Whether the request succeeded

trace_id
string

Trace ID used for troubleshooting