Creates a Coinbase Onramp buy URL and optionally returns a session token for reuse.
Request body to create a Coinbase onramp URL
Preset fiat amount for purchase
"100"
Fiat currency code
"USD"
Default asset to purchase
"USDC"
Default payment method identifier
"CARD"
Destination wallet address
"0x58241893EF1f86C9fBd8109Cd44Ea961fDb474e1"
Supported blockchains for the session
["base"]ISO country code of the end user
"US"
Associated AnySpend order ID
"5392f7a7-d472-4d6b-9848-bd07117fb82d"
Redirect URL after completing the purchase
"https://www.anyspend.com/orders"
Whether to create and embed a session token automatically