post
https://api.funtrips.io/{stage}/merchant-accounts/session/token
Exchanges the single-use code from the merchant onboarding magic link for a
Cognito JWT issued by the merchant user pool. The resulting access_token
must be supplied as a Bearer token when calling GET /merchant-accounts/onboarding.
The code is invalidated immediately after use.
Merchant onboarding flow
- Admin calls
POST /merchant-accounts→ Adyen provisions account → magic link email sent. - Merchant clicks link containing the code.
- Merchant
POST /merchant-accounts/session/tokenwith the code → receives JWT. - Merchant
GET /merchant-accounts/onboarding?debtorCode=...with JWT → receives KYC URL.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
