Skip to main content
POST
/
api
/
dapp
/
transak
/
widget-url
Create Transak Widget URL
curl --request POST \
  --url https://backend-global.gains.trade/api/dapp/transak/widget-url \
  --header 'Content-Type: application/json' \
  --data '
{
  "widgetParams": {}
}
'
{}

Endpoint

POST /api/dapp/transak/widget-url Creates a Transak on-ramp widget URL.

Request Body

Send JSON matching the schema shown in the generated API panel.

Usage Example

curl -X POST "https://backend-global.gains.trade/api/dapp/transak/widget-url"

Response Structure

The generated API panel lists the response schema for status codes: 200, 500. Error responses generally return an error or message field.

Body

application/json
widgetParams
object

Response

Successful response

The response is of type object.