Public endpoints
GET/v1/public/consent/{token}

Get consent page

View as .md
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.

Server URLhttps://api.52-28-238-205.sslip.io
GET/v1/public/consent/{token}Base URL: https://api.52-28-238-205.sslip.io
Path
  • tokenstringrequired

    One-time consent token from the link the platform sent the consumer (valid 24 hours).

Path Parameters

token*Token

One-time consent token from the link the platform sent the consumer (valid 24 hours).

Response Body

Success.

application/json
  1. response
session*
operator*
template?
Default{}
steps*
mandate?|null
budget_base_units?|

Budget in integer base units, carried as a string.

budget_max_base_units?string|null
asset?Asset

Asset symbol, for example USDC or USDT; USD for card amounts.

Default"USDC"
delegation?|null
funding?|null
redirect_url?|

Platform URL the consumer returns to after consent, with status (and mandate_id on success).

[key: string]?any