---
page_source: https://juspay.io/in/docs/ec-headless/cordova/mandates/card-payments
page_title: Card Payments
---


# Credit / Debit Card transaction




### Step 1.1. Card - Info


This operation helps to get Card details using card bin (First 6 digits of the card). You can also use this operation to check if a card is eligible for ATM PIN payments.Use the following `optional`parameters to check card eligibility for -

1. Mandates - `"checkMandateSupport":true`(Mandatory to pass for Mandate Payments)

2. DOTP - `"checkDirectOtpSupport":true`

3. Tokenization - `"checkTokenizeSupport":true`




### Step 1.1. Card payment


Refer below details to create Process Payload for Card Txns.


### Payload
- **RequestId**:
  - Description: Unique uuid-v4 string
    
    Example: abcd-12345-abcd-12345
  - Value: value
  - Tags: String, Mandatory
- **Service**:
  - Description: Value: in.juspay.hyperapi
  - Tags: String, Mandatory
- **Payload**:
  - Description: Parameters required to call Hyper SDK API
  - Value:
    - **Action**:
      - Description: Must be cardTxn for Card Process calls.
      - Tags: String, Mandatory
    - **OrderId**:
      - Description: order id pertaining to the order for which the payment is started.
      - Tags: String, Mandatory
    - **CardNumber**:
      - Description: A valid credit/debit card number entered by the user.
      - Tags: String, Mandatory
    - **CardExpMonth**:
      - Description: Represent the expiry month of the card as MM (two digits only)
      - Tags: String, Mandatory
    - **CardExpYear**:
      - Description: Represent the expiry year of the card as YY (two digits only)
      - Tags: String, Mandatory
    - **CardSecurityCode**:
      - Description: CVV of the card. Usually three digits. Optional for all VISA saved cards, PLUXEE | SODEXO saved cards, and saved cards of select issuing banks of MASTERCARD
      - Tags: String, Mandatory
    - **ClientAuthToken**:
      - Description: Required for client side authentication
      - Tags: String, Mandatory
    - **Tokenize**:
      - Description: This is a boolean variable and accepts true/false. If set to true, then the card will be tokenised when the transaction is successful. Else, the card will not be saved.
      - Tags: boolean
    - **NameOnCard**:
      - Description: Card holder name. Should contain alphabetical characters only.
      - Tags: String
    - **PaymentMethod**:
      - Description: This is network of the card number provided. One of VISA/MASTERCARD/MAESTRO/AMEX/RUPAY. Mandatory for AMEX to verify the input of 4 digit CVV.
      - Tags: String
    - **Offers**:
      - Description: The key offers should be passed only when juspay offers are being used. The value for this key can set as the offerID which is received from /v1/offers/list api
      - Tags: Array of Strings
    - ** authType**:
      - Description: THREE_DS/OTP/VISA_CHECKOUT
      - Tags: String
    - **ShouldCreateMandate**:
      - Description: This is a customer’s consent flag. This should be always **TRUE**  in case of a mandate transaction.
      - Tags: Boolean, Mandatory
  - Tags: JSON, Mandatory


