cURL
curl --request POST \ --url https://grid.squads.xyz/api/grid/v1/accounts/{address}/standing-order-intent \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'x-grid-environment: <x-grid-environment>' \ --data ' { "amount": "<string>", "destination": { "currency": "<string>", "details": "<unknown>", "payment_rail": "<string>" }, "frequency": "<string>", "source": { "currency": "<string>", "details": "<unknown>", "payment_rail": "<string>" }, "start_date": "2023-11-07T05:31:56Z", "end_date": "2023-11-07T05:31:56Z" } '
{ "amount": "<string>", "created_at": "2023-11-07T05:31:56Z", "currency": "<string>", "destination": { "currency": "<string>", "details": "<unknown>", "payment_rail": "<string>" }, "frequency": "<string>", "id": "<string>", "kms_payloads": [ { "address": "<string>", "payload": "<string>", "provider": "privy" } ], "payment_rail": "<string>", "source": { "currency": "<string>", "details": "<unknown>", "payment_rail": "<string>" }, "start_date": "2023-11-07T05:31:56Z", "status": "<string>", "transaction": "<string>", "ui_amount": "<string>", "valid_until": "2023-11-07T05:31:56Z", "end_date": "2023-11-07T05:31:56Z", "transaction_signers": [ "<string>" ] }
Create a new recurring standing order
Your Grid API key from the Grid Dashboard
Solana network environment (sandbox, devnet, mainnet)
Idempotency key to prevent duplicate operations
Smart account address
Show child attributes
Standing order created successfully
Was this page helpful?