Connect
GET/v1/consumer/spending
Get consumer spending
curl -X GET "https://api.52-28-238-205.sslip.io/v1/consumer/spending" \ -H "Cookie: <console session cookie>"Returns what the signed-in consumer's agents spent: totals, recent payments, the current or last revoked mandate and the platform operator. Console session only.
Server URL
https://api.52-28-238-205.sslip.ioGET/v1/consumer/spendingBase URL: https://api.52-28-238-205.sslip.io
Authorization
sessionCookie: <console session cookie>
Query
limitintegerNumber of recent payments (default 20, max 200).
sessioncookie
uapg_session<token>Console session cookie (HttpOnly, SameSite=Lax)
limit?LimitNumber of recent payments (default 20, max 200).
Range
1 <= value <= 200Default
20Success.
application/json- response
spent*payments*array<>mandate?|nulloperator?|null[key: string]?anyPOSTCreate consent session
Creates a hosted consent session for an embedded account's consumer and returns the link to send them; the consumer signs spending rules capped by the template. Console session or API key with connect:manage; expires after 24 hours.
GETList split rules
Lists the split rules the caller's platform or merchant owns. Console session or API key with connect:manage.