Pay by Credit Card
API for direct payment by credit card number without using payment page.
API Interface
Pay by credit card
POST https://api.sensepass.com/api/transactions/pay
Authentication Request Body fields
See here our Authentication page
Request Body
methodType
string
Transaction Type:
0. 'payment' = Regular Payment 1. 'tokenize' = Tokenization 2. 'authorize' = Authorization 3. 'credit' = Credit transaction (Refund transaction without a reference to original payment transaction) 4. 'manual_capture' = Manual Capture (Create a transaction and capture it later. Deprecated) 5. 'subscription' = Subscription (Recurring payments on an interval) 6. 'capture+tokenize' = Capture and Tokenize (Charge the amount and create a token for future payments)
amount*
number
The required amount for this transaction (Cents).
If products are a part of the transaction - they are all summed up & calculated via the following formula:
(amount + vat - discount) * quantity e.g. (10 + 1.7 - 1) * 2.
creditCardDetails.cardNumber*
string
Credit card number
currency*
string
[ USD, CAD, ILS, EUR, RUB ]
creditCardDetails.securityCode*
string
Credit card CVV
reason
string
The reason for this payment - This field will be presented to the consumer
creditCardDetails.socialID
String
Israel Only - Social ID of the credit card owner
creditCardDetails.cardExpiration*
string
Credit card expiration MM/YY
installments
number
Israel Only - Installments
Examples
Basic request example to pay using credit card
Response
Transaction Status Flow
Last updated
Was this helpful?
