Manage Cards and Accounts

Know how to manage credit cards after onboarding customers.

Manage Credit Cards

Below are the action codes for managing credit cards.

SET_RESET_ACTIVATE_CARD

Use this action code to set, reset, or activate a card.

{
  'objectId': '9e23db7d-9c6a-4da3-b812-7bb1580d155a',
  'otpPurpose': 'CHANGE_PIN'
}
{}

Request Headers

HeadersData TypeDescription
UserIdstringThe unique identifier of the user. For example, a5a1c639-52ca-4146-a8e4-92fdabe304af.

Request Parameters

ParametersData TypeMandatory/OptionalDescription
objectIdstringMandatoryThe unique identifier of the object.
otpPurposestringMandatoryThe purpose of the OTP. For example, CHANGE_PIN.

SUBMIT_OTP

Use this action code to submit the received OTP. This OTP can be reused for setting a PIN, activating a card, and for any other cases where we need an OTP flow.

{
  'otp': 'xx23',
  'reason': 'SET_PIN'
}
{}

Request Parameters

ParametersData TypeMandatory/OptionalDescription
otpintegerMandatoryThe masked OTP.
reasonstringOptionalThe reason of the OTP.

ACTIVATE_CARD

Use this action code to activate a card.

{
'cardID': '41296a2e-f08c-4e50-80d1-9b6e62ee4805',
'action': 'activate'
}
{}

Request Parameters

ParametersData TypeMandatory/OptionalDescription
cardIdstringMandatoryThe card ID required to activate a card.
actionstringMandatoryThe action to take on the card ID. Here, it is activate.

VIEW_CARDS_LIST

Use this action item to view the list of all cards added to an account.

{
'accountId': 'acc123456'
'UserId': 'a5a1c639-52ca-4146-a8e4-92fdabe304af'
}
{
  "cardId":"41296a2e-f08c-4e50-80d1-9b6e62ee4805",
  "outstandingAmount":58800.59,
  "expirationDate":"2029-04-23 05:30:00.0",
  "maskedCardNumber":"999989xxxxxx2600",
  "cardHolderName":"Akash Emi Sarin",
  "cardStatus":"UNFREEZE",
  "network":"VISA",
  "isPrimary":true,
  "productName":"KVB HONOUR CREDIT CARD",
  "productType":"RETAIL_CREDIT_CARD",
  "productVariant":"HONOUR",
  "productVariantName":"KVB Honour Card",
  "cardCreationDate":"2024-04-23 11:46:51.297",
  "cardHotlistedDate":null,
  "cardClosureDate":null,
  "cardHotlistedReason":null,
  "type":"PHYSICAL"
}

Request Parameters

ParameterData TypeMandatory/OptionalDescription
accountIdstringMandatoryThe unique identifier of an account.
UserIdstringMandatoryThe unique identifier of a user.

Response Parameters

ParametersData TypeDescription
cardIdstringThe unique identifier of a card.
outstandingAmountbigdecimalThe total outstanding amount of a card.
expirationDatestringThe card expiry date.
maskedCardNumberintegerThe masked card number.
cardHolderNamestringThe cardholder's name.
cardStatusstringThe card status.
networkstringThe card network. For example, VISA.
isPrimarystringIndicates whether the card is primary. Possible values:
  • true: This a primary.
  • false: This is not a primary card.
productNamestringThe card name. For example, KVB HONOUR CREDIT CARD.
productTypestringThe card type. Here, it is RETAIL_CREDIT_CARD.
productVariantstringThe card variant. Here, it is HONOUR.
productVariantNamestringThe card variant name. Here, it is KVB Honour Card.
cardCreationDatestringThe card creation date.
cardHotlistedDatestringThe card's hotlist date.
cardClosureDatestringThe card closure date.
cardHotlistedReasonstringThe reason for hotlisting the card.
typestringThe card type. Possible values:
  • Physical: The card is physical.
  • Virtual: The card is virtual.

VIEW_CARD_SPENDING_LIMIT

Use this action code to view the spending limit of a card.

{
'accountId': 'acc123456',
'cardId': '41296a2e-f08c-4e50-80d1-9b6e62ee4805',
'UserId': 'a5a1c639-52ca-4146-a8e4-92fdabe304af'
}
{
  "cardId":"0cad620c-ebd7-4b52-b079-7d351ec86c13",
  "domestic":{
    "online":{
      "perTransactionLimit":1000,
      "dailyTransactionAmount":2000,
      "dailyTransactionCount":10,
      "monthlyTransactionAmount":60000,
      "monthlyTransactionCount":300
    },
    "pos":{
      "perTransactionLimit":1000,
      "dailyTransactionAmount":2000,
      "dailyTransactionCount":10,
      "monthlyTransactionAmount":60000,
      "monthlyTransactionCount":300
    },
    "atm":{
      "perTransactionLimit":1000,
      "dailyTransactionAmount":2000,
      "dailyTransactionCount":10,
      "monthlyTransactionAmount":60000,
      "monthlyTransactionCount":300
    },
    "contactless":{
      "perTransactionLimit":1000,
      "dailyTransactionAmount":2000,
      "dailyTransactionCount":10,
      "monthlyTransactionAmount":60000,
      "monthlyTransactionCount":300
    }
  }
}

Request Parameters

ParametersData TypeMandatory/OptionalDescription
accountIdstringMandatoryThe unique identifier of an account.
cardIdstringMandatoryThe unique identifier of a card you want to view the spending limit.
UserIdstringMandatoryThe unique identifier of a user.

Response Parameters

ParametersData TypeDescription
cardIdstringThe unique identifier of a card.
domesticobjectThe domestic spending limit details.
domestic[].onlineobjectThe domestic online spending limit details.
domestic[].online[].perTransactionLimitintegerThe single transaction limit.
domestic[].online[].dailyTransactionAmountintegerThe card's daily transaction amount.
domestic[].online[].dailyTransactionCountintegerThe card's daily transaction count.
domestic[].online[].monthlyTransactionAmountintegerThe card's monthly transaction amount.
domestic[].online[].monthlyTransactionCountintegerThe card's monthly transaction count.
domestic[].posobjectThe domestic spending limit on POS devices details.
domestic[].pos[].perTransactionLimitintegerThe single transaction limit on a POS device.
domestic[].pos[].dailyTransactionAmountintegerThe card's daily transaction amount on a POS device.
domestic[].pos[].dailyTransactionCountintegerThe card's daily transaction count on a POS device.
domestic[].pos[].monthlyTransactionAmountintegerThe card's monthly transaction amount on a POS device.
domestic[].pos[].monthlyTransactionCountintegerThe card's monthly transaction count on a POS device.
domestic[].atmobjectThe ATM spending limit details.
domestic[].atm[].perTransactionLimitintegerThe single transaction limit on an ATM.
domestic[].atm[].dailyTransactionAmountintegerThe card's daily transaction amount on an ATM.
domestic[].atm[].dailyTransactionCountintegerThe card's daily transaction count on an ATM.
domestic[].atm[].monthlyTransactionAmountintegerThe card's monthly transaction amount on an ATM.
domestic[].atm[].monthlyTransactionCountintegerThe card's monthly transaction counts on an ATM.
domestic[].contactlessobjectThe contactless spending limit details.
domestic[].contactless[].perTransactionLimitintegerThe single contactless transaction limit.
domestic[].contactless[].dailyTransactionAmountintegerThe contactless transaction amount daily limit.
domestic[].contactless[].dailyTransactionCountintegerThe contactless transaction daily limit count.
domestic[].contactless[].monthlyTransactionAmountintegerThe contactless transaction monthly limit amount.
domestic[].contactless[].monthlyTransactionCountintegerThe contactless transaction monthly limit count.

CHANGE_SPENDING_LIMITS

Use this endpoint to change the spending limit of a card.

{
  'accountId': '202000004782',
  'userId': '9824c2dc-65ac-417a-a11c-43e47e8dfa7a',
  'domestic': {
    'online': {
      'perTransactionLimit': '2000',
      'dailyLimit': '91000',
      'enabled': 'true'
    },
    'pos': {
      'perTransactionLimit': '2000',
      'dailyLimit': '91000',
      'enabled': 'true'
    },
    'atm': {
      'perTransactionLimit': '2000',
      'dailyLimit': '91000',
      'enabled': 'true'
    },
    'contactless': {
      'perTransactionLimit': '2000',
      'dailyLimit': '91000',
      'enabled': 'true'
    }
  }
}
{}

Request Parameters

ParametersData TypeMandatory/OptionalDescription
accountIdstringMandatoryThe unique identifier of an account.
UserIdstringMandatoryThe unique identifier of a user.
domesticobjectOptionalThe domestic spending limit details.
domestic[].onlineobjectOptionalThe domestic online spending limit details.
domestic[].online[].perTransactionLimitintegerOptionalThe single transaction limit.
domestic[].online[].dailyLimitintegerOptionalThe card's daily limit.
domestic[].online[].enabledbooleanOptionalIndicates whether the card is enabled for domestic online transactions. Possible values:
  • true: Enabled for domestic transactions
  • false: Disabled for domestic transactions.
domestic[].posobjectOptionalThe domestic spending limit on POS devices details.
domestic[].pos[].perTransactionLimitintegerOptionalThe single transaction limit on a POS device.
domestic[].pos[].dailyLimitintegerOptionalThe card's daily limit on a POS device.
domestic[].pos[].enabledbooleanOptionalIndicates whether the card is enabled for domestic transactions on a POS device. Possible values:
  • true: Enabled for domestic transactions on a POS device.
  • false: Disabled for domestic transactions on a POS device.
domestic[].atmobjectOptionalThe ATM spending limit details.
domestic[].atm[].perTransactionLimitintegerOptionalThe single transaction limit on an ATM.
domestic[].atm[].dailyLimitintegerOptionalThe card's daily limit on an ATM.
domestic[].atm[].enabledbooleanOptionalIndicates whether the card is enabled for domestic transactions on an ATM. Possible values:
  • true: Enabled for domestic transactions on an ATM.
  • false: Disabled for domestic transactions on an ATM.
domestic[].contactlessobjectOptionalThe contactless spending limit details.
domestic[].contactless[].perTransactionLimitintegerOptionalThe single contactless transaction limit.
domestic[].contactless[].dailyLimitintegerOptionalThe contactless transaction daily limit.
domestic[].contactless[].enabledbooleanOptionalIndicates whether the card is enabled for contactless domestic transactions. Possible values:
  • true: Enabled for contactless domestic transactions.
  • false: Disabled for contactless domestic transactions.

FREEZE_UNFREEZE_CARD

Use this action code to freeze or unfreeze a card.

{
  'userId': '9824c2dc-65ac-417a-a11c-43e47e8dfa7a',
  'cardId': '9e23db7d-9c6a-4da3-b812-7bb1580d155a',
  'status': 'FREEZE'
}
{}

Request Parameters

ParametersData TypeMandatory/OptionalDescription
UserIdstringMandatoryThe unique identifier of a user.
cardIdstringMandatoryThe unique identifier of a card.
statusstringOptionalThe status of a card. For example, FREEZE

BLOCK_CARD

Use this action code to block a card.

{
  'userId': '9824c2dc-65ac-417a-a11c-43e47e8dfa7a',
  'cardId': '9e23db7d-9c6a-4da3-b812-7bb1580d155a',
  'status': 'BLOCKED',
  'reason': 'LOST/STOLEN/DAMAGED'
}
{}

Request Parameters

ParametersData TypeMandatory/OptionalDescription
UserIdstringMandatoryThe unique identifier of a user.
cardIdstringMandatoryThe unique identifier of a card.
statusstringOptionalThe status of a card. For example, BLOCKED
reasonstringOptionalThe reason to block a card.

REPLACE_CARD

Use this action code to replace a card.

{
  'oldCardId': '83f1492f-d00a-4417-bfbf-7de7e13507f9'
}

{
  "newcardId": "83f1492f-d00a-4417-bfbf-7de7e13507f9"
}

Request Parameters

ParametersData TypeMandatory/OptionalDescription
oldCardIdstringMandatoryThe old card ID.

Response Parameters

ParametersData TypeMandatory/OptionalDescription
newcardIdstringMandatoryThe new card ID.

Manage User Accounts

Below are the action codes for managing user accounts.

VIEW_ACCOUNTS_LIST

Use this action code to view the list of accounts.

{
  'userId': 'a5a1c639-52ca-4146-a8e4-92fdabe304af',
}
{
  "userId":"1f27d20f-b09a-437a-85b4-c70036bb6b57",
  "maskedMobileNumber":"70xxxx1041",
  "accountData":{
    "items":[
      {
        "productName":"KVB HONOUR CREDIT CARD",
        "productType":"RETAIL_CREDIT_CARD",
        "productVariant":"HONOUR",
        "productVariantName":"KVB Honour Card",
        "accountId":"170e13ec-9e4f-4547-a414-183cb2fb059a",
        "programId":"1abbb249-27c6-4ec5-b492-75d147e61ada"
      }
    ],
    "isLastPage":true,
    "pageNumber":0,
    "currentPageSize":1,
    "perPageSize":5,
    "totalItems":1,
    "totalPages":1
  }
}

Request Parameters

HeaderData TypeMandatory/OptionalDescription
UserIdstringMandatoryThe unique identifier of a user.

Response Parameters

ParametersData TypeDescription
userIdstringThe unique identifier of the user.
maskedMobileNumberstringThe masked mobile number of the user.
accountDataobjectThe account details
itemsobjectThe card details added to the account.
accountData[].items[].productNamestringThe card name. For example, Nyka HONOUR CREDIT CARD.
accountData[].items[].productTypestringThe card type. Here, it is RETAIL_CREDIT_CARD.
accountData[].items[].productVariantstringThe card variant. Here, it is HONOUR.
accountData[].items[].productVariantNamestringThe card variant name. Here, it is Nyka Honour Card.
accountData[].items[].accountIdstringThe unique identifier of the user account. For example, 170e13ec-9e4f-4547-a414-183cb2fb059a.
accountData[].items[].programIdstringThe program ID the card is added to. For example, 1abbb249-27c6-4ec5-b492-75d147e61ada.
accountData[].isLastPagestringDetermines whether this is the last page of the response. Possible values:
  • true
  • false
accountData[].pageNumberintegerThe current page number.
accountData[].currentPageSizeintegerThe amount of data present on the current page.
accountData[].perPageSizeThe amount of data allowed on the current page.
accountData[].totalItemsintegerThe total amount of data present in the request.
accountData[].totalPagesintegerThe total number of pages present in the request.

VIEW_ACCOUNT_DETAILS

Use this action code to view the list of accounts.

{
  'accountId': 'replace_with_account_id',
  'userId': 'a5a1c639-52ca-4146-a8e4-92fdabe304af'
}
{
  "userId":"a5a1c639-52ca-4146-a8e4-92fdabe304af",
  "id":"53754f86-290a-4216-8eec-7024307be322",
  "accountNumber":"239886874",
  "type":"DOMESTIC",
  "enterpriseId":null,
  "status":"ACTIVE",
  "subStatus":"NORMAL",
  "npaStatus":"IN_ACTIVE",
  "npaInducedBy":null,
  "npaReason":null,
  "dueDateModifiedOn":null,
  "dueDateUpdateEnable":true,
  "programId":"d883fb9f-477c-4139-8cd1-204719b267ea",
  "creditLimit":100000.0,
  "availableCreditLimit":-590.0,
  "totalCreditLimit":100000.0,
  "maxCreditLimit":100000.0,
  "cashAdvanceLimit":40000.0,
  "availableCashAdvanceLimit":40000.0,
  "availableInstallmentLimit":0.0,
  "totalInstallmentCreditLimit":0.0,
  "availableSavingsAccountLimit":0.0,
  "totalOverDraftLimit":0.0,
  "overdraftLimit":0.0,
  "joiningFee":null,
  "annualFee":null,
  "cashAdvanceFee":null,
  "outstandingAmount":100590.0,
  "delinquencyStatus":"NOT PAST DUE",
  "dueDate":"10",
  "lastPaymentDate":null,
  "accountOpeningDate":"2025-01-29T11:47:07.658+00:00",
  "billingDate":"09-Feb-2025",
  "paymentDueDate":"10-Feb-2025",
  "delinquencyCycle":0,
  "delinquencyCycleDesc":"0 Days",
  "daysPastDue":0,
  "minimumAmountDue":null,
  "overdueAmount":0.00,
  "totalAmountDue":"0",
  "productType":"RETAIL_CREDIT_CARD",
  "productVariant":"HONOUR",
  "productVariantName":"KVB Honour Card",
  "currentStatementReferenceNo":"2407093450",
  "autoDebit":{
    "savingsAccountNumber":"12345676789",
    "type":"MAD",
    "status":"YES",
    "enterpriseType":null,
    "enterpriseStatus":null
  },
  "cardAutoRenewStatus":true,
  "cardAutoRenewReason":null,
  "branchId":"XYZ123",
  "nomineeRelationship":"BROTHER",
  "nomineeName":"Deepak Chauhan"
}

Request Parameters

ParametersData TypeMandatory/OptionalDescription
accountIdstringMandatoryThe unique identifier of an account.
UserIdstringMandatoryThe unique identifier of a user.

Response Parameters

ParametersData TypeDescription
userIdstringThe unique identifier of the user.
idstringThe unique identifier.
accountNumberstringThe associated account number.
typestringThe account type.
enterpriseIdstringThe unique identifier of an enterprise.
statusstringThe account status.
subStatusstringThe account sub-status.
npaStatusstringThe NPA status of an account.
npaInducedBystringIndicates who induced the NPA on the account.
npaReasonstringThe NPA's reason.
dueDateModifiedOnstringThe due date modified information.
dueDateUpdateEnablestringDetermines whether one can update the due date of an account.
programIdstringThe program ID account is associated with.
creditLimitstringThe account's credit limit.
availableCreditLimitstringThe account's available credit limit.
totalCreditLimitstringThe account's total credit limit.
maxCreditLimitstringThe account's maximum credit limit.
cashAdvanceLimitstringThe account's cash advance limit.
availableCashAdvanceLimitstringThe account's available cash advance limit.
availableInstallmentLimitstringThe account's available installment limit.
totalInstallmentCreditLimitstringThe account's total installment limit.
availableSavingsAccountLimitstringThe account's available savings account limit.
totalOverDraftLimitstringThe account's total overdraft limit.
overdraftLimitstringThe account's overdraft limit.
joiningFeestringThe account's joining fee.
annualFeestringThe account's annual fee.
cashAdvanceFeestringThe account's cash advance fee.
outstandingAmountstringThe outstanding amount.
delinquencyStatusstringThe account's delinquency status.
lastPaymentDatestringThe account's last payment date.
dueDatestringThe due date of an account.
accountOpeningDatestringThe account opening date.
billingDatestringThe account billing date.
paymentDueDatestringThe account payment due date.
delinquencyCyclestringThe account delinquency cycle.
delinquencyCycleDescstringThe account delinquency cycle description.
daysPastDuestringThe days past due of an account.
minimumAmountDuestringThe minimum amount due for an account.
overdueAmountstringThe overdue amount.
totalAmountDuestringThe total amount due.
productTypestringThe card type.
productVariantstringThe card variant.
productVariantNamestringThe card variant name.
currentStatementReferenceNostringThe current statement reference number.
autoDebitobjectThe auto-debit details.
autoDebit[].savingsAccountNumberobjectThe savings account number for auto-debit.
autoDebit[].typeobjectThe auto-debit type.
autoDebit[].statusobjectThe auto-debit status.
autoDebit[].enterpriseTypeobjectThe enterprise type.
autoDebit[].enterpriseStatusobjectThe enterprise status.
cardAutoRenewStatusstringThe card's auto-renewal status.
cardAutoRenewReasonstringThe card's auto-renewal reason.
branchIdstringThe branch ID.
nomineeRelationshipstringThe nominee's relationship.
nomineeNamestringThe nominee's name.

Related Information

Refer to the following pages for additional information about integrating retail co-branded credit cards.