Skip to main content
POST
Accept or reject a re-quote

Authorizations

X-Swap-Auth
string
header
required

Per-swap credential returned as swapAuth when the swap is created. Required on the routes that decide a live swap's outcome (re-quotes, cooperative refunds), so knowing the swap ID is not enough.

Path Parameters

id
string
required

Swap id (ULID).

Body

application/json

Body of POST /v2/swap/{id}/rate-decision.

accept
boolean
required

true → accept the re-quote and resume; false → reject and refund.

Response

Decision recorded; swap resumes or moves to refund.

GET /v2/swap/{id} response.

events
object[]
required
id
string
required
paymentStatus
string
required

Customer-funding status, independent from the swap lifecycle.

status
string
required
type
string
required

Swap kind: submarine / reverse / chain.

failureDetails
string | null
failureReason
string | null
payout
object | null

Present on pay-through swaps only.