Skip to main content
POST
/
organizations
/
{organization_id}
/
offerings
Create Offerings
curl --request POST \
  --url https://api-sandbox.stablesea.com/v1/organizations/{organization_id}/offerings \
  --header 'Authorization: Bearer <token>' \
  --header 'Idempotency-Key: <idempotency-key>'
{
  "data": [
    {
      "id": "off_01k4qph5ezfsga7fkvbygsqq93",
      "order_type": "QUOTED",
      "payin": {
        "external_payment_instrument": {
          "id": "mnyacctcm_01k4r01nm4f41tcsws4sr9k8nn",
          "alias": "My Solana Wallet",
          "currency": "USDC",
          "method": "SOLANA_ADDRESS"
        },
        "limits": {
          "min": "100.00",
          "max": "10000.00"
        },
        "indicative_cost_tiers": [
          {
            "min": "100.00",
            "max": "1000.00",
            "bps": "150"
          },
          {
            "min": "1000.01",
            "max": "10000.00",
            "bps": "100"
          }
        ]
      },
      "payout": {
        "external_payment_instrument": {
          "id": "mnyacctcop_01k4r01nkxf41vpxc3nekphrx8",
          "alias": "My COP Bank Account",
          "currency": "COP",
          "method": "COP_BANK_ACCOUNT"
        }
      },
      "indicative_exchange_rate": "4250.00",
      "current_day_hours_of_operation": {
        "open_utc": "2024-01-15T13:00:00Z",
        "close_utc": "2024-01-15T21:00:00Z"
      },
      "liquidity_provider": "ALPHA",
      "estimated_settlement_time": "T+0",
      "created_at": "2024-01-15T10:00:00Z"
    }
  ]
}
Creates offerings for an organization.

Common Headers

HeaderValueRequiredDescription
AuthorizationBearer <api-key>trueYour API key for authentication
Content-Typeapplication/jsontrueContent type of the request
Idempotency-Key<unique-uuid>trueUnique key to prevent duplicate operations

Path

organization_id
string
required
ID of organization

Response

{
  "data": [
    {
      "id": "off_01k4qph5ezfsga7fkvbygsqq93",
      "order_type": "QUOTED",
      "payin": {
        "external_payment_instrument": {
          "id": "mnyacctcm_01k4r01nm4f41tcsws4sr9k8nn",
          "alias": "My Solana Wallet",
          "currency": "USDC",
          "method": "SOLANA_ADDRESS"
        },
        "limits": {
          "min": "100.00",
          "max": "10000.00"
        },
        "indicative_cost_tiers": [
          {
            "min": "100.00",
            "max": "1000.00",
            "bps": "150"
          },
          {
            "min": "1000.01",
            "max": "10000.00",
            "bps": "100"
          }
        ]
      },
      "payout": {
        "external_payment_instrument": {
          "id": "mnyacctcop_01k4r01nkxf41vpxc3nekphrx8",
          "alias": "My COP Bank Account",
          "currency": "COP",
          "method": "COP_BANK_ACCOUNT"
        }
      },
      "indicative_exchange_rate": "4250.00",
      "current_day_hours_of_operation": {
        "open_utc": "2024-01-15T13:00:00Z",
        "close_utc": "2024-01-15T21:00:00Z"
      },
      "liquidity_provider": "ALPHA",
      "estimated_settlement_time": "T+0",
      "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"

Response

201 - application/json

Offerings created successfully

data
object[]