Builds an unsigned Solana USDC transfer transaction on the server. The customer signs the returned base64-encoded transaction locally and submits it to the /topup/confirm endpoint.
cURL
curl --request POST \ --url https://orbitflare.com/api/customer/v2/topup/prepare \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "amount": 5002.5, "wallet_address": "<string>" } '
{ "success": true, "message": "<string>", "data": { "transaction": "<string>", "memo": "<string>", "amount_usdc": 123, "amount_micro_usdc": 123, "destination_wallet": "<string>", "blockhash": "<string>", "last_valid_block_height": 123 } }
Bearer token from device or wallet auth
USDC amount to top up.
5 <= x <= 10000
Solana wallet public key (base58).
32 - 44
Unsigned transaction built successfully.
true
Show child attributes
Bu sayfa yararlı mıydı?