Global Account withdrawals use the quotes flow. Create a quote, have the customer authorize the returned
payloadToSign, then execute the quote with Grid-Wallet-Signature.Withdrawal flow
- Create or select a destination account.
- Create a quote with the Global Account as the source.
- Read the
payloadToSignreturned in the quote’s payment instructions. - Authenticate the customer and create a session.
- Sign the payload with the session signing key.
- Execute the quote with the
Grid-Wallet-Signatureheader. - Reconcile status with account and transaction webhooks.
Create a quote
EMBEDDED_WALLET, the response includes a payloadToSign value under paymentInstructions[].accountOrWalletInfo.
Execute with a signature
The signature covers the exactpaymentInstructions[].accountOrWalletInfo.payloadToSign value returned by the quote.
Same-currency and cross-currency withdrawals
If the source and destination use the same currency, the quote can represent a same-currency withdrawal. If the destination uses a different currency, the quote locks the conversion details before execution. In both cases, the customer signature requirement comes from the source account type, not from the currency pair. If the source is anEMBEDDED_WALLET, execute the quote with Grid-Wallet-Signature.
Reconciliation
After execution, track the withdrawal through transaction and account webhooks:OUTGOING_PAYMENT.*events track the payment lifecycle.INTERNAL_ACCOUNT.BALANCE_UPDATEDevents track balance changes on the Global Account.- Transaction reads provide a backstop for webhook delivery gaps.