Synapse Developer Hub

Welcome to the Synapse Developer Hub. Here you will find comprehensive guides and documentation to help you start working with the Synapse API as quickly as possible. If you need any assistance, we are always here to help!

// Encrypt with the public key...varencrypt=newJSEncrypt();
encrypt.setPublicKey($('#pubkey').val());
varencryptedCardNumber=encrypt.encrypt($('#card_number').val());
varencryptedExpDate=encrypt.encrypt($('#exp_date').val());

Padding

Please make sure you are using PKCS1_v1_5 padding for encryption.

Card Type Restrictions

Platforms can request certain card types to be blocked. The types that may be blocked are DEBIT, CREDIT, PREPAID, DISCOVER, and AMEX.