Flow and Endpoints

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
  • Context (CryptoPass → you, optional): POST context_url {provider_slug, user_id}
  • Webhook (CryptoPass → you): POST webhook_url for cryptopass.created / cryptopass.updated