curl --request POST \
--url https://api-sandbox.stablesea.com/v1/organizations/{organization_id}/orders \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--data '
{
"quote_id": "<string>"
}
'{
"data": {
"id": "ord_01k4qn3cxdefkargtccm4ycxsf",
"quote_id": "qt_01k4qpmvgxfsg9db9mjrtq9tk2",
"offering_id": "off_01k4qph5ezfsga7fkvbygsqq93",
"reference_number": "SS-ORD-20240115-001",
"external_reference_id": null,
"exchange_rate": "4250.00",
"effective_exchange_rate": "4250.00",
"payin": {
"external_payment_instrument": {
"id": "mnyacctcm_01k4r01nm4f41tcsws4sr9k8nn",
"alias": "My Solana Wallet",
"currency": "USDC",
"method": "SOLANA_ADDRESS",
"status": {
"current_status": "ACTIVE",
"status_history": [
{
"status": "ACTIVE",
"created_at": "2024-01-15T10:00:00Z"
}
]
},
"details": {
"address": "A1B2C3D4E5F6G7H8I9J0K1L2M3N4O5P6Q7R8S9T0U1V2W3X4Y5Z6"
},
"created_at": "2024-01-15T10:00:00Z",
"updated_at": "2024-01-15T10:00:00Z"
},
"total": "1015.00",
"fee": "15.00",
"tax": "0.00"
},
"payout": {
"external_payment_instrument": {
"id": "mnyacctcop_01k4r01nkxf41vpxc3nekphrx8",
"alias": "My COP Bank Account",
"currency": "COP",
"method": "COP_BANK_ACCOUNT",
"status": {
"current_status": "ACTIVE",
"status_history": [
{
"status": "ACTIVE",
"created_at": "2024-01-15T11:00:00Z"
}
]
},
"details": {
"bank_account_number": "1234567890",
"bank_code": "001",
"account_holder_first_name": "John",
"account_holder_last_name": "Doe",
"legal_entity_name": "Acme Corporation",
"doc_type": "CC",
"doc_id": "1234567890",
"physical_address": "123 Main St, Bogota, Colombia",
"account_type": "CHECKING"
},
"created_at": "2024-01-15T11:00:00Z",
"updated_at": "2024-01-15T11:00:00Z"
},
"total": "4250000.00"
},
"status": {
"current_status": "STEP_1_AWAITING_FUNDING",
"status_history": [
{
"status": "STEP_1_AWAITING_FUNDING",
"created_at": "2024-01-15T10:00:00Z"
}
]
},
"funding_instructions": {
"currency": "USDC",
"method": "SOLANA_ADDRESS",
"details": {
"address": "B2C3D4E5F6G7H8I9J0K1L2M3N4O5P6Q7R8S9T0U1V2W3X4Y5Z6A1"
}
},
"retry_order_id": null,
"created_at": "2024-01-15T10:00:00Z",
"updated_at": "2024-01-15T10:00:00Z"
}
}
Creates an order for an organization
curl --request POST \
--url https://api-sandbox.stablesea.com/v1/organizations/{organization_id}/orders \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--data '
{
"quote_id": "<string>"
}
'{
"data": {
"id": "ord_01k4qn3cxdefkargtccm4ycxsf",
"quote_id": "qt_01k4qpmvgxfsg9db9mjrtq9tk2",
"offering_id": "off_01k4qph5ezfsga7fkvbygsqq93",
"reference_number": "SS-ORD-20240115-001",
"external_reference_id": null,
"exchange_rate": "4250.00",
"effective_exchange_rate": "4250.00",
"payin": {
"external_payment_instrument": {
"id": "mnyacctcm_01k4r01nm4f41tcsws4sr9k8nn",
"alias": "My Solana Wallet",
"currency": "USDC",
"method": "SOLANA_ADDRESS",
"status": {
"current_status": "ACTIVE",
"status_history": [
{
"status": "ACTIVE",
"created_at": "2024-01-15T10:00:00Z"
}
]
},
"details": {
"address": "A1B2C3D4E5F6G7H8I9J0K1L2M3N4O5P6Q7R8S9T0U1V2W3X4Y5Z6"
},
"created_at": "2024-01-15T10:00:00Z",
"updated_at": "2024-01-15T10:00:00Z"
},
"total": "1015.00",
"fee": "15.00",
"tax": "0.00"
},
"payout": {
"external_payment_instrument": {
"id": "mnyacctcop_01k4r01nkxf41vpxc3nekphrx8",
"alias": "My COP Bank Account",
"currency": "COP",
"method": "COP_BANK_ACCOUNT",
"status": {
"current_status": "ACTIVE",
"status_history": [
{
"status": "ACTIVE",
"created_at": "2024-01-15T11:00:00Z"
}
]
},
"details": {
"bank_account_number": "1234567890",
"bank_code": "001",
"account_holder_first_name": "John",
"account_holder_last_name": "Doe",
"legal_entity_name": "Acme Corporation",
"doc_type": "CC",
"doc_id": "1234567890",
"physical_address": "123 Main St, Bogota, Colombia",
"account_type": "CHECKING"
},
"created_at": "2024-01-15T11:00:00Z",
"updated_at": "2024-01-15T11:00:00Z"
},
"total": "4250000.00"
},
"status": {
"current_status": "STEP_1_AWAITING_FUNDING",
"status_history": [
{
"status": "STEP_1_AWAITING_FUNDING",
"created_at": "2024-01-15T10:00:00Z"
}
]
},
"funding_instructions": {
"currency": "USDC",
"method": "SOLANA_ADDRESS",
"details": {
"address": "B2C3D4E5F6G7H8I9J0K1L2M3N4O5P6Q7R8S9T0U1V2W3X4Y5Z6A1"
}
},
"retry_order_id": null,
"created_at": "2024-01-15T10:00:00Z",
"updated_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": "ord_01k4qn3cxdefkargtccm4ycxsf",
"quote_id": "qt_01k4qpmvgxfsg9db9mjrtq9tk2",
"offering_id": "off_01k4qph5ezfsga7fkvbygsqq93",
"reference_number": "SS-ORD-20240115-001",
"external_reference_id": null,
"exchange_rate": "4250.00",
"effective_exchange_rate": "4250.00",
"payin": {
"external_payment_instrument": {
"id": "mnyacctcm_01k4r01nm4f41tcsws4sr9k8nn",
"alias": "My Solana Wallet",
"currency": "USDC",
"method": "SOLANA_ADDRESS",
"status": {
"current_status": "ACTIVE",
"status_history": [
{
"status": "ACTIVE",
"created_at": "2024-01-15T10:00:00Z"
}
]
},
"details": {
"address": "A1B2C3D4E5F6G7H8I9J0K1L2M3N4O5P6Q7R8S9T0U1V2W3X4Y5Z6"
},
"created_at": "2024-01-15T10:00:00Z",
"updated_at": "2024-01-15T10:00:00Z"
},
"total": "1015.00",
"fee": "15.00",
"tax": "0.00"
},
"payout": {
"external_payment_instrument": {
"id": "mnyacctcop_01k4r01nkxf41vpxc3nekphrx8",
"alias": "My COP Bank Account",
"currency": "COP",
"method": "COP_BANK_ACCOUNT",
"status": {
"current_status": "ACTIVE",
"status_history": [
{
"status": "ACTIVE",
"created_at": "2024-01-15T11:00:00Z"
}
]
},
"details": {
"bank_account_number": "1234567890",
"bank_code": "001",
"account_holder_first_name": "John",
"account_holder_last_name": "Doe",
"legal_entity_name": "Acme Corporation",
"doc_type": "CC",
"doc_id": "1234567890",
"physical_address": "123 Main St, Bogota, Colombia",
"account_type": "CHECKING"
},
"created_at": "2024-01-15T11:00:00Z",
"updated_at": "2024-01-15T11:00:00Z"
},
"total": "4250000.00"
},
"status": {
"current_status": "STEP_1_AWAITING_FUNDING",
"status_history": [
{
"status": "STEP_1_AWAITING_FUNDING",
"created_at": "2024-01-15T10:00:00Z"
}
]
},
"funding_instructions": {
"currency": "USDC",
"method": "SOLANA_ADDRESS",
"details": {
"address": "B2C3D4E5F6G7H8I9J0K1L2M3N4O5P6Q7R8S9T0U1V2W3X4Y5Z6A1"
}
},
"retry_order_id": null,
"created_at": "2024-01-15T10:00:00Z",
"updated_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"
Order request
Order created successfully
Show child attributes
"mnyacct_01k4r01nm4f41tcsws4sr9k8nn"
"qt_01k4qpmvgxfsg9db9mjrtq9tk2"
"off_01k4qph5ezfsga7fkvbygsqq93"
"SS-ORD-20240115-001"
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
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
STEP_1_AWAITING_FUNDING, STEP_2_FILLING_FX, STEP_3_SETTLING_PAYOUT, STEP_4_COMPLETED, FAILED_FUNDING_EXPIRED, FAILED_DECLINED_BY_LIQ_PROVIDER, FAILED_REFUND_REQUESTED, FAILED_REFUND_PROCESSED Show child attributes
STEP_1_AWAITING_FUNDING, STEP_2_FILLING_FX, STEP_3_SETTLING_PAYOUT, STEP_4_COMPLETED, FAILED_FUNDING_EXPIRED, FAILED_DECLINED_BY_LIQ_PROVIDER, FAILED_REFUND_REQUESTED, FAILED_REFUND_PROCESSED ISO 8601 UTC timestamp (RFC3339)
"2024-01-15T10:00:00Z"
Show child attributes
USDC, ...more to come... "USDC"
SOLANA_ADDRESS, COP_BANK_ACCOUNT, ...more to come... ISO 8601 UTC timestamp (RFC3339)
"2024-01-15T10:00:00Z"
ISO 8601 UTC timestamp (RFC3339)
"2024-01-15T10:00:00Z"
"ACME-REF-001"
"ord_01k4qn4cxdefkargtccm4ycxth"