/v1/wallet/on_ramp/get_url
jwt token must be present.
optional.
If set, then the user can only purchase that particular token.
Value | Description |
---|---|
eth | ether |
sol | sol |
usdc | ethereum usdc |
usdc_sol | usdc on Solana |
btc |
If not set, then the user can select the token from popup window.
optional.
The email address that transaction status is sent to.
/v1/wallet/on_ramp/get_url?currencyCode=usdc_flow&email=a@a.com
{
"status": "success",
"data": {
"signed_url": "<https://buy-sandbox.moonpay.com/?apiKey=pk_test_BOYXGsVdyJRztr1LA7lywJpZfpq2yZ9&externalUserId=10769¤cyCode=usdc_flow&email=a%40a.com&signature=6KmhIdXc0V5KdpSCuqlU6TgtO8P6qIygD%2Fjk9mRfxB0%3D>"
}
}
Then open the “signed_url” in the browser.