Skip to main content
GET
/
payment-methods
/
widgetUrl
Get Add Fiat Account Widget URL
curl --request GET \
  --url https://api.sandbox.sardine.ai/v1/payment-methods/widgetUrl
{
  "addFiatAccountUrl": "https://connect-fiat.sardine.ai/start?sessionId=xyz789"
}

Documentation Index

Fetch the complete documentation index at: https://docs.payments.sardine.ai/llms.txt

Use this file to discover all available pages before exploring further.

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<uri>

URL to redirect the user to connect a fiat payment method