Get consent page
curl -X GET "https://api.52-28-238-205.sslip.io/v1/public/consent/{token}"Returns what the hosted consent page shows: the operator, the spending-rule template, the budget cap, progress steps, the spending permission and wallet funding. Anyone holding the token; rate limited to 30 requests per minute per IP.
https://api.52-28-238-205.sslip.ioPath
tokenstringrequiredOne-time consent token from the link the platform sent the consumer (valid 24 hours).
token*TokenOne-time consent token from the link the platform sent the consumer (valid 24 hours).
Success.
application/json- response
session*operator*template?{}steps*mandate?|nullbudget_base_units?|Budget in integer base units, carried as a string.
budget_max_base_units?string|nullasset?AssetAsset symbol, for example USDC or USDT; USD for card amounts.
"USDC"delegation?|nullfunding?|nullredirect_url?|Platform URL the consumer returns to after consent, with status (and mandate_id on success).
[key: string]?anyGETGet checkout status
Returns the status, amount, steps and receipt id of a hosted checkout. Anyone holding the status token may call it; rate limited to 30 requests per minute per IP.
POSTDecline consent
Declines a pending consent session and returns the platform's redirect URL with status declined. Anyone holding the token; rate limited to 30 requests per minute per IP.