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
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"
}
]
}
| Header | Value | Required | Description |
|---|---|---|---|
Authorization | Bearer <api-key> | true | Your API key for authentication |
Content-Type | application/json | true | Content type of the request |
Idempotency-Key | <unique-uuid> | true | Unique key to prevent duplicate operations |
{
"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"
}
]
}
Use your API key as the bearer token
Unique key to prevent duplicate operations
"550e8400-e29b-41d4-a716-446655440000"
ID of organization
"org_01k2cm4r59e5z8k5ggrbbxjcwy"
Offerings created successfully
Show child attributes
"off_01k4qph5ezfsga7fkvbygsqq93"
QUOTED, LIMIT, MARKET Show child attributes
Show child attributes
"mnyacct_01k4r01nm4f41tcsws4sr9k8nn"
"My Primary Wallet"
USDC, COP, ...more to come... SOLANA_ADDRESS, COP_BANK_ACCOUNT, ...more to come... Show child attributes
ACTIVE, COMPLIANCE_HOLD, ARCHIVED Show child attributes
ISO 8601 UTC timestamp (RFC3339)
"2024-01-15T10:00:00Z"
ISO 8601 UTC timestamp (RFC3339)
"2024-01-15T10:00:00Z"
Show child attributes
A string representation of a decimal number
A string representation of a decimal number
A string representation of a decimal number
Show child attributes
Show child attributes
"mnyacct_01k4r01nm4f41tcsws4sr9k8nn"
"My Primary Wallet"
USDC, COP, ...more to come... SOLANA_ADDRESS, COP_BANK_ACCOUNT, ...more to come... Show child attributes
ACTIVE, COMPLIANCE_HOLD, ARCHIVED Show child attributes
ISO 8601 UTC timestamp (RFC3339)
"2024-01-15T10:00:00Z"
ISO 8601 UTC timestamp (RFC3339)
"2024-01-15T10:00:00Z"
A string representation of a decimal number
Show child attributes
"ALPHA"
Show child attributes
USDC, ...more to come... "USDC"
COP, ...more to come... "COP"
Show child attributes
ISO 8601 UTC timestamp (RFC3339)
"2024-01-15T10:00:00Z"
ISO 8601 UTC timestamp (RFC3339)
"2024-01-15T10:00:00Z"
T+0, T+1, T+2 ISO 8601 UTC timestamp (RFC3339)
"2024-01-15T10:00:00Z"