Skip to main content
POST
Create Swap

Create Swap

Asks StablePay to book a quote from Get Quote at exactly its amount, rate and INR. The swap starts as pending. Our desk approves or rejects it. Once approved, it is booked as a deal and settles through your usual OTC flow.
string
required
The quoteId returned by GET /v2/quotes. Must be used before the quote’s expiresAt.

Request

Response

201 Created for a new swap. Each quote makes at most one swap, so sending the same quoteId again returns that swap with 200 OK. Retries are safe.

Response Fields

Errors

Checking status

  • GET /v2/swap/{id} returns one swap.
  • GET /v2/swap?limit=50 lists your swaps, newest first.