Skip to content

REFUND_IS_SETTLEMENT_ADDRESS

The refundTo you sent for a transfer-mode payment attempt is the invoice’s own settlement address: the merchant’s payout address. A refund sent there would land with the merchant, not with the person paying, so the attempt is refused before any quote or deposit address exists.

HTTP status
422 Unprocessable Content
Code
REFUND_IS_SETTLEMENT_ADDRESS

refundTo is where a payment that can’t go through is returned. It must be an address the customer controls on the chain they pay from. It is required for every transfer-mode payment except direct pay (paying in the settlement asset on its own chain), where the money goes straight to the merchant and there is nothing to return. A direct-pay attempt never raises this error: a settlement-address refundTo there is simply not stored.

Raised from 29 Nov 2026 (SPEC-checkout §11.78).

{
"error": {
"code": "REFUND_IS_SETTLEMENT_ADDRESS",
"message": "refundTo is the merchant's settlement address; a refund there would go to the merchant, not to you. Enter an address you control",
"details": { "field": "refundTo", "mode": "transfer" }
}
}
  • Ask the customer for their own address on the chain they pay from: a wallet they control, not an exchange deposit address.
  • In your own checkout UI, compare the SHA-256 of the canonical address with the checkout view’s settlementAddressSha256 to catch this before you call the API. The hosted checkout says “That’s the seller’s address. Enter your own.”
  • Merchants testing their own checkout: use a second wallet as the refund address, not the payout wallet.
{ "error": { "code": "REFUND_IS_SETTLEMENT_ADDRESS", "message": "…" } }