Create a payment order
Create a StableOps payment order with accepted chains and assets, exact payable amounts, receiving instructions, expiry, metadata, and a stable idempotency key.
/v1/payment-ordersAuthorization
bearerAuth Paste your API key from the dashboard.
In: header
Header Parameters
Stable client-supplied key (e.g. merchant order id). Replays return the original response.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/payment-orders" \ -H "Idempotency-Key: string" \ -H "Content-Type: application/json" \ -d '{ "merchant_order_id": "string", "amount": "string", "accepted_assets": [ { "chain": "ethereum", "asset": "USDC" } ], "expires_at": "2019-08-24T14:15:22Z" }'{
"id": "string",
"merchant_order_id": "string",
"amount": "string",
"requested_amount": "string",
"chain_amount": "string",
"settlement_asset": "USDC",
"status": "created",
"expires_at": "2019-08-24T14:15:22Z",
"metadata": "string",
"created_at": "2019-08-24T14:15:22Z",
"accepted_assets": [
{
"chain": "ethereum",
"asset": "USDC"
}
],
"payment_instructions": [
{
"chain": "ethereum",
"asset": "USDC",
"address": "string"
}
]
}{
"statusCode": -9007199254740991,
"message": "string",
"error": "string"
}{
"statusCode": -9007199254740991,
"message": "string",
"error": "string"
}{
"statusCode": -9007199254740991,
"message": "string",
"error": "string"
}{
"statusCode": -9007199254740991,
"message": "string",
"error": "string"
}How is this guide?
Last updated
BYO Addresses
Bring EVM, TRON, or Solana addresses to StableOps for payment tracking and deposit risk notices while retaining control of your private keys and received funds.
List payment orders GET
List StableOps payment orders within your organization and environment, inspect current payment states, and paginate results for support and reconciliation.