GET
/
payment-methods
/
widgetUrl
curl --request GET \
  --url https://api.sandbox.sardine.ai/v1/payment-methods/widgetUrl
{
  "addFiatAccountUrl": "https://connect-fiat.sardine.ai/start?sessionId=xyz789"
}

Query Parameters

userId
string
required

The ID of the user for whom the fiat account connection URL is being requested

Response

200 - application/json
Successful response with fiat account connection URL
addFiatAccountUrl
string

URL to redirect the user to connect a fiat payment method