Credit / Debit Card transaction

Note
  • The API supports two card usage modes:

    New Card

    Use this mode when the card is provided for the first time.

    Required parameters:

    • card_number

    • card_exp_year

    • card_exp_month

    • card_security_code

    • name_on_card

    • save_to_locker – set to true to store the card for future use

    • tokenize – set to true to generate a reusable card token


    Saved Card

    Use this mode when a previously saved card is used.

    Required parameters:

    • card_token – received from the list-cards API

    • card_security_code

    Do not send card number or expiry-related fields when using a saved card.

API Endpoints
Sandbox Link
POST
https://api.sandbox.juspay.io/txns
Production Link
POST
https://api.juspay.io/txns
Body
200 : Success
400 : Invalid Input data
Last updated 3 months ago