---
title: Create an order from a quote
endpoint: POST /api/v3/orders
description: "Turns a quote into an order. The direction comes from the quote, and determines which destination kinds are accepted: a buy pays out in crypto, a sell to a payment instrument or bank account."
---

`POST /api/v3/orders`

## Request

| Field | Type | Required | Example | Description |
| --- | --- | --- | --- | --- |
| `quote` | string | required | `eyJhbGciOiJIUzI1NiJ9.eyJxdW90ZUlkIjoiM2ZhODVmNjQ` | The signed quote from POST /api/v3/quotes. Authoritative for currencies, amounts, fees and payment method. |
| `destination` | object | required |  | Where the value the customer receives goes. Which kinds are valid follows from the trade's direction. |
| `destination.kind` | string | required |  | One of: crypto, paymentInstrument, bankAccount. |
| `destination.address` | string | optional | `bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq` | kind=crypto. The wallet the customer receives to. |
| `destination.memo` | string | optional | `106548921` | kind=crypto. Destination tag or memo, on chains that use one. |
| `destination.saveToBook` | boolean | optional |  | kind=crypto. Keep the address in the customer's address book. It is added only once the order completes; a cancelled or failed order leaves it out. |
| `destination.paymentInstrumentId` | string | optional | `7c9e6679-7425-40de-944b-e07fc1f90ae7` | kind=paymentInstrument. Must belong to the order's owner. |
| `destination.instrumentKind` | string | optional |  | kind=paymentInstrument, read only. Which sort of instrument the payout went to. One of: paypal, card. |
| `destination.paypalEmail` | string | optional | `satoshi@example.com` | kind=paymentInstrument, read only. The PayPal account that was paid out to. |
| `destination.cardBrand` | string | optional | `visa` | kind=paymentInstrument, read only. Card scheme, unformatted. |
| `destination.cardLast4` | string | optional | `4242` | kind=paymentInstrument, read only. Last four digits; never the full PAN. |
| `destination.iban` | string | optional | `NL91ABNA0417164300` | kind=bankAccount. |
| `destination.holderName` | string | optional | `S. de Vries` | kind=bankAccount. Legally required. |
| `returnUrl` | string | optional | `https://your.app/checkout/return` |  |
| `partnerOrderIdentifier` | string | optional | `your-ref-8842` | Your own reference. Echoed back and stored on the order. |
| `locale` | string | optional | `nl-NL` | The language the returned `checkoutUrl` renders in. Same rules as the checkout endpoint: a language subtag with an optional region, casing ignored, region discarded, one of `nl`, `en`, `de`, `fr`, `es`. Omitted means English. |
| `actingAs` | string | optional |  | One of: individual, business. |
| `businessId` | string | optional | `4f1d0f6e-9b7a-4c31-8a2e-6d5b0c9e7f14` |  |
| `bankId` | string | optional | `INGBNL2A` | Pay by Bank only. |
| `bankCountry` | string | optional | `NL` | Pay by Bank only. |
| `debtorPaymentInstrumentId` | string | optional | `7c9e6679-7425-40de-944b-e07fc1f90ae7` | Pay by Bank only. Which of the customer's own accounts they pay from. |
| `debtorIban` | string | optional | `NL91TRIO0321110110` | Pay by Bank only; 400 otherwise. An IBAN the customer entered for the account they pay from, when they did not pick a saved one. Not together with debtorPaymentInstrumentId. Sent to the bank only if it requires the payer's IBAN. |
| `psuId` | string | optional | `vr-netkey-alias` | Pay by Bank only; 400 otherwise. The customer's login or customer number at their bank, for banks that require it (the bank's requiredInput names psuId). |

## Responses

| Status | Meaning |
| --- | --- |
| 201 | The order. |
| 400 | Invalid or expired quote, or a destination that contradicts the direction. |
| 401 | No authenticated customer. |
| 403 | The payment instrument does not belong to this owner. |
| 409 | Support rejected the customer for this payment method at its first-use review (`code: payment_method_rejected`). Another payment method can still be used. |
| 503 | `trading_paused` — an operator has paused this side of trading for this partner, coin or payment method. Nothing is wrong with the request and no order was created; the same request is accepted once trading reopens (`reopensAt`, when the pause has an end). A quote taken before the pause is refused too, whatever its expiry. Told apart from any other 503 by `code`. Or `maintenance`: full maintenance is on, and every endpoint refuses every request until it ends (`endsAt`, when it has an end). |

| Field | Type | Required | Example | Description |
| --- | --- | --- | --- | --- |
| `id` | uuid | required | `3fa85f64-5717-4562-b3fc-2c963f66afa6` |  |
| `displayId` | string | required | `K7M4RPQ2` | The customer-facing handle. Show this rather than the id. |
| `direction` | string | required |  | One of: buy, sell. |
| `paymentUrl` | string | required | `https://ideal.example/pay/9RVQ2M7KX0` | Signed hosted payment page for this order. |
| `checkoutUrl` | string | required | `https://checkout.btcdirect.eu/c/9RVQ2M7KX0` |  |
| `partnerOrderIdentifier` | string | optional | `your-ref-8842` |  |
| `deposit` | object | optional |  | Where the customer sends the coins that fund a sell. Absent on a buy, whose customer pays through paymentUrl, and on a sell whose journey has not yet allocated an address. |
| `deposit.address` | string | required | `bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq` | The deposit address to send the coins to. |
| `deposit.memo` | string | optional | `9911` | Destination tag/memo, on the chains whose address is not unique per beneficiary (XRP, XLM, EOS). Absent elsewhere. |
