Using Card Details

Using Card Details (Server-to-Client)

The server-to-client method involves sending the full card details from your server to your client application. In this approach, you include the card details, such as the primary account number (PAN), card verification value (CVV), and expiration date, in the cardPayload object during the Sunlight SDK initialization.

This method is suitable in cases where you have the ability to send card details directly to your client application. It reduces the need for additional server integration while maintaining a high level of security for card data.