onramper
Generate an Onramper widget URL
Creates a widget URL for the requested wallet and payment configuration.
post/api/v1/onramper/generate-widget-url
Request
- Base URLhttps://swap-backend.stage.defi.ovh.gala.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"walletAddress": "eth|0000000000000000000000000000000000000001",
"mode": "buy",
"defaultFiat": "USD",
"defaultAmount": 100,
"sellDefaultAmount": 1,
"onlyCryptoNetworks": "gala",
"defaultPaymentMethod": "creditcard",
"defaultCrypto": "gala",
"networkPrefix": "gala_gala"
}Response
Widget URL generated.
Example response
{
"status": 200,
"message": "Widget URL generated successfully",
"data": {
"url": "https://widget.onramper.test/"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.