curl -X POST https://oro-tradebook-devnet.up.railway.app/api/trading/purchases/partner \ -H "Content-Type: application/json" \ -H "x-api-key: your-api-key" \ -d '{ "goldAmount": 1.0, "maxUsdcAmount": 5500 }'
{ "success": true, "data": { "purchaseId": "uuid-purchase-id", "goldAmount": 1.0, "quoteUsdcAmount": 5086.20, "maxUsdcAmount": 5500, "quotedGoldPrice": 5086.2, "status": "pending_signature", "transaction": { "serializedTx": "base64-encoded-transaction", "signingInstructions": { "walletType": "PARTNER_AUTHORITY", "signers": ["ExecutiveAuthorityAddress"], "expiresAt": "2024-01-15T10:35:00.000Z" } }, "createdAt": "2024-01-15T10:30:00.000Z" } }
Creates a gold purchase transaction for partner reserves.
PARTNER_EXECUTIVE_AUTHORITY
Show properties