Skip to main content
Available in🇮🇳 India🇸🇬 Singapore
This section explains the additional configurations available for Razorpay iOS Custom SDK.

Change API Key

Call the following function after the successful SDK initialization and change the API key:
Change API Key

Card Utilities

Fetch Card Network

The SDK provides a method to get the card network of the card. At least six digits of the card number are required to identify the network. The below method fetches the card network for a card. A minimum of 6 digits is required to identify the network.
Get Card Network
Possible values are:
  • visa
  • mastercard
  • amex
  • unionpay
If the method cannot identify the network, it returns unknown.

Card Number Validation

The entered card number can be validated using the checksum-based method.
Card Number Validation

Fetch Card Number Length for Card Network

Use the below method to fetch the card number’s length for a card network:
Fetch Card Number Length for Card Network