Use the dryRunquery parameter to validate a refund request without executing it. By default, dryRunis set to false. Set it to trueto perform a validation only, without processing the actual refund.
blockchain and address are required only when type is CRYPTO. All other fields below fromAmount are optional for every refund type.
Name
Type
Required
Description
paymentId
string
✅
Unique identifier of the payment being refunded
type
string (enum)
✅
Type of refund provider. Allowed: ASTERIUM, CRYPTO
fromCurrency
string
✅
Currency the refund is issued from
toCurrency
string
✅
Currency the refund is issued in
fromAmount
string
✅
≥ 0. Refund amount in source currency; must be ≤ sum of the payment items
blockchain
string
✅ (CRYPTO only)
Blockchain network for the refund
address
string
✅ (CRYPTO only)
Destination crypto address for the refund
toAmount
string
❌
≥ 0. Refund amount in target currency; calculated automatically if omitted
invoiceId
string
❌
Unique identifier of the associated invoice
description
string
❌
Additional details or notes about the refund
signedRate
object
❌
Signed rate information, used when the refund involves a currency exchange