Returns the current refund configuration for a transaction — the bolt11 invoice (or fallback address) that the provider pays to return crypto to Kotani if settlement fails. Also returns how many regenerations have been used. If the bolt11 is expired, call POST /:id/refund-config to regenerate.
| Field | Description |
|---|---|
primary_method | CRYPTO_INVOICE (Lightning bolt11) or CRYPTO_ADDRESS (on-chain fallback) |
refund_invoice | The bolt11 invoice the provider pays if settlement fails (Lightning only) |
refund_payment_hash | Payment hash for the Lightning invoice — use this to track refund execution |
refund_amount_msat | Refund amount in millisatoshis |
fallback_address | Kotani on-chain address used if the invoice cannot be paid |
expires_at | ISO 8601 timestamp when the bolt11 invoice expires |
regeneration_count | How many times the invoice has been regenerated (max 3) |
regenerations_remaining | Regenerations still available |
Note: Only Lightning (CHAIN: LIGHTNING) transactions carry a bolt11 refund invoice. On-chain crypto bridge transactions always useCRYPTO_ADDRESSas the primary refund method and theexpires_atfield will be absent.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.