Flow and Endpoints
Flow and Endpoints
2. Data Flow (high level)
- Deeplink (you -> app):
deep_link_value=exchange_auth, af_sub1=code, af_sub2=state, af_sub3=slug.
- Redeem (app -> CryptoPass):
POST /external/exchange/auth/redeem {code, state, slug}.
- S2S Redeem (CryptoPass -> you):
POST redeem_url {code, state} with Authorization: Bearer <api_key>.
- Context (CryptoPass -> you, optional):
POST context_url {provider_slug, user_id}.
- Webhook (CryptoPass -> you):
POST webhook_url for cryptopass.created / cryptopass.updated.