Coupons
Introduction#
Coupons are objects used to give insentive to the user to invite people to use the app.
A user can add a coupon in their identity to improve their identity (access to the app, more storage, ...)
They are linked to an identity.
Attach a coupon to an identity#
This route let a user attach a coupon to their identity.
Request#
Cookies:
accesstoken(opaque token) (ACR >= 1):midclaim as the identity id.tokentype: must bebearer
Headers:
X-CSRF-Token: a token to prevent from CSRF attacks, delivered at the end of the auth flow
Path Parameters:
value(string): the value of the coupon.
Response#
Code: