Masterpass Integration Flow

Client-Side Integration:

  1. Frontend calls /masterpass-js/ to get configuration

  2. Response includes JavaScript URL, client ID, merchant ID, return URL

  3. Frontend loads Masterpass JavaScript library

  4. User completes Masterpass authentication

  5. 3D Secure flow initiated if enabled

  6. Return to checkout on completion

Configuration Elements:

  • js: Masterpass JavaScript library URL from gateway config

  • client_id: OAuth client identifier for API access

  • merchant_id: Merchant identifier (empty for custom merchant type)

  • s3d_return_url: Return URL after 3D Secure verification

Last updated

Was this helpful?