Use the below endpoint to Fetch Vault.

Request Parameters:

Attribute

Type

Details

customer_token*

string

vaild Token to be set for the customer.

payment_modes

integer

valid payment modes value.

Request Query Param:

customer_token=AGxVyLz65ucoJrx+w1u1xQ==

Request Body payload:

{
    "payment_modes": [ 1 ]
}

Response Payload:

{
  "card_details": [
    {
      "masked_card_number": "401200******1112",
      "expiry_year": "2023",
      "expiry_month": "12",
      "card_holder_name": "harsh",
      "saved_credential_token": "chYeVuIZ6NSHoAR4W8C+0A==",
      "assosiciation_type": "MASTERCARD",
      "is_debit_card_emi": false,
      "issuer_name": "HDFC",
      "card_type_id": 0
    }
  ]
}
{
  "error_code": "16200",
  "error_message": "FETCHING_SAVE_VAULT_DATA_FAILED"
}
{
  "error_code": "16010",
  "error_message": "Oops, something went wrong!"
}
Language
Click Try It! to start a request and see the response here!