This endpoint allows JWTs assigned role service, anonymous, or buyer to be exchanged for a JWT assigned role buyer. Request body parameters programID and merchantID are required if the associated claim(s) are present on the provided JWT.
Exchanging a service account JWT allows for a service account to perform actions on a user's behalf if necessary. Buyers should use the checkout flow instead (see /send/code + /buyer/authorize).
Exchanging an anonymous JWT allows for new users to login with their recently created buyer account. This is an alternative way of getting a buyer JWT for apps that cannot access the Authorization response header following buyer registration.
Exchanging a buyer JWT is a special case allowing previously unverified buyers who have recently OTP verified to upgrade their buyer account to reflect that verification.
Log in to see full request history
time
status
user agent
Retrieving recent requests…
Loading…
URL Expired
The URL for this request expired after 30 days.
Responses
400
Response for Auth errors
401
Unauthorized. Indicates that provided credentials is not valid
403
Forbidden. Indicates that request cannot be authorized