Introduction

This guide outlines the payment management API endpoints in the system. These endpoints allow you to retrieve card information with installment options, manage stored credit cards with OTP verification, and integrate with Masterpass payment gateway for secure checkout.

The Payments API provides functionality for:

1. Card & Installment Management

  • Retrieve available payment cards for basket checkout

  • Get installment options for pre-orders

  • View card-specific installment plans for products

  • Filter cards based on amount and business rules

  • Calculate interest amounts and installment breakdowns

2. Stored Card Operations

  • Verify phone numbers for OTP-based card storage

  • Send OTP codes for secure card storage authorization

  • Save credit cards with tokenization support

  • Multi-gateway support (POS-based card storage)

  • Secure card token management

3. Masterpass Integration

  • Retrieve Masterpass JavaScript configuration

  • Support for 3D Secure authentication

  • Dynamic merchant configuration

  • Client-side integration parameters

  • Custom merchant type support

Each endpoint is designed to support secure payment operations where users can select payment methods, view installment options, and safely store payment cards for future transactions.

NOTE:

  • Card list endpoints are public (no authentication required)

  • Stored card operations require authenticated users

  • Masterpass JS endpoint is public for client-side integration

  • All card storage operations use secure tokenization

Last updated

Was this helpful?