---
title: "POST /quotes"
method: POST
path: "/quotes"
---

# POST /quotes

`POST /quotes`

## Headers

- `Authorization` string

## Request body

- object
  - `side` 'buy' | 'sell', required — The exchange operation to be done
  - `quote_currency` 'USDT', required — The target currency code to buy/sell
  - `base_currency` 'PHP', required — The base currency code to use in buying or to obtain in selling
  - `quantity` number, float, required — For buy operation: the amount of `base_currency` to use. For sell operation: the amount of `quote_currency` to sell

## Response `200`

- object
  - `data` object
    - `id` string
    - `side` string
    - `price` number
    - `quote_currency` string
    - `quote_quantity` integer
    - `base_currency` string
    - `base_quantity` number
    - `created_at` string
    - `expires_at` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized

---

[API](https://skmtc.net/paymongo/apis/paymongo-api.md) · [All operations](https://skmtc.net/paymongo/apis/paymongo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/paymongo/paymongo-api/versions/c18f9a027b2c/schema)
