Skip to main content
POST
/
organizations
/
{organization_id}
/
quotes
Create Quote
curl --request POST \
  --url https://api-sandbox.stablesea.com/v1/organizations/{organization_id}/quotes \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'Idempotency-Key: <idempotency-key>' \
  --data '
{
  "payin_amount": "<string>",
  "offering_id": "<string>"
}
'
{
  "data": {
    "id": "mnyacct_01k4r01nm4f41tcsws4sr9k8nn",
    "offering_id": "off_01k4qph5ezfsga7fkvbygsqq93",
    "exchange_rate": "<string>",
    "payin": {
      "total": "<string>",
      "fee": "<string>",
      "tax": "<string>"
    },
    "payout": {
      "total": "<string>"
    },
    "submission_expires_at": "2024-01-15T10:00:00Z",
    "funding_expires_at": "2024-01-15T10:00:00Z",
    "created_at": "2024-01-15T10:00:00Z"
  }
}

Authorizations

Authorization
string
header
default:DEFAULT-TOKEN-HERE
required

Use your API key as the bearer token

Headers

Idempotency-Key
string
required

Unique key to prevent duplicate operations

Example:

"550e8400-e29b-41d4-a716-446655440000"

Path Parameters

organization_id
string
required

ID of organization

Example:

"org_01k2cm4r59e5z8k5ggrbbxjcwy"

Body

application/json

Quote request

payin_amount
string<decimal>
required

A string representation of a decimal number

offering_id
string
required

Response

201 - application/json

Quote created successfully

data
object