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": "mnyacct_01k4r01nm4f41tcsws4sr9k8nn",
          "alias": "My Primary Wallet",
          "currency": "USDC",
          "method": "SOLANA_ADDRESS",
          "status": {
            "current_status": "ACTIVE",
            "status_history": [
              {
                "status": "ACTIVE",
                "created_at": "2024-01-15T10:00:00Z"
              }
            ]
          },
          "details": {
            "address": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
          },
          "created_at": "2024-01-15T10:00:00Z",
          "updated_at": "2024-01-15T10:00:00Z"
        },
        "limits": {
          "min": "<string>",
          "max": "<string>"
        },
        "indicative_cost_tiers": [
          {
            "min": "<string>",
            "max": "<string>",
            "bps": "<string>"
          }
        ]
      },
      "payout": {
        "external_payment_instrument": {
          "id": "mnyacct_01k4r01nm4f41tcsws4sr9k8nn",
          "alias": "My Primary Wallet",
          "currency": "USDC",
          "method": "SOLANA_ADDRESS",
          "status": {
            "current_status": "ACTIVE",
            "status_history": [
              {
                "status": "ACTIVE",
                "created_at": "2024-01-15T10:00:00Z"
              }
            ]
          },
          "details": {
            "address": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
          },
          "created_at": "2024-01-15T10:00:00Z",
          "updated_at": "2024-01-15T10:00:00Z"
        }
      },
      "indicative_exchange_rate": "<string>",
      "current_day_hours_of_operation": {
        "open_utc": "2024-01-15T10:00:00Z",
        "close_utc": "2024-01-15T10:00:00Z"
      },
      "liquidity_provider": {
        "name": "ALPHA",
        "trading_pairs": [
          {
            "payin_currency": "USDC",
            "payout_currency": "COP",
            "hours_of_operation": [
              {
                "open_time_utc": "2024-01-15T10:00:00Z",
                "close_time_utc": "2024-01-15T10:00:00Z"
              }
            ]
          }
        ]
      },
      "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[]