curl -X POST https://oro-tradebook-devnet.up.railway.app/api/users \ -H "Content-Type: application/json" \ -H "x-api-key: your-api-key" \ -d '{ "kycHash": "Base58EncodedKycHash", "userWalletAddress": "UserSolanaWalletAddress", "metadata": { "referenceId": "user-123", "tags": ["retail"] } }'
{ "success": true, "data": { "userId": "user-pda-address", "userPda": "user-pda-address", "kycHash": "Base58EncodedKycHash", "userWalletAddress": "UserSolanaWalletAddress", "transaction": { "txId": "api-tx-record-id", "serializedTx": "base64-encoded-transaction", "signingInstructions": { "walletType": "executive_authority", "signers": ["ExecutiveAuthorityAddress"], "expiresAt": "2024-01-15T10:35:00.000Z" } } } }
Creates a new user record and associated compressed account (PDA).
PARTNER_EXECUTIVE_AUTHORITY
Show properties