Simulate Payment
This endpoint is available only in the sandbox environment.
To simulate a real on-chain transaction, create the payment with network set to POLYGON and payment_currency set to USDC.

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.

Body

application/json
transaction_id
string
required

Paiera payment transaction ID.

paid_amount
string
required

Paid amount as a decimal string.

Response

200 - application/json

Successful simulation response

code
string
required

Business result code.

message
string
required

Result message.

timestamp
integer<int64>
required

Response time as a Unix timestamp in milliseconds.

success
boolean
required

Whether the request succeeded.

data
object
required