Below are the action codes for managing credit cards.
Use this action code to set, reset, or activate a card.
Payload Response
{
'objectId': '9e23db7d-9c6a-4da3-b812-7bb1580d155a',
'otpPurpose': 'CHANGE_PIN'
}
{}
Headers Data Type Description UserIdstring The unique identifier of the user. For example, a5a1c639-52ca-4146-a8e4-92fdabe304af.
Parameters Data Type Mandatory/Optional Description objectIdstring Mandatory The unique identifier of the object. otpPurposestring Mandatory The purpose of the OTP. For example, CHANGE_PIN.
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.
Payload Response
{
'otp': 'xx23',
'reason': 'SET_PIN'
}
{}
Parameters Data Type Mandatory/Optional Description otpinteger Mandatory The masked OTP. reasonstring Optional The reason of the OTP.
Use this action code to activate a card.
Payload Response
{
'cardID': '41296a2e-f08c-4e50-80d1-9b6e62ee4805',
'action': 'activate'
}
{}
Parameters Data Type Mandatory/Optional Description cardIdstring Mandatory The card ID required to activate a card. actionstring Mandatory The action to take on the card ID. Here, it is activate.
Use this action item to view the list of all cards added to an account.
Payload Response
{
'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"
}
Parameter Data Type Mandatory/Optional Description accountIdstring Mandatory The unique identifier of an account. UserIdstring Mandatory The unique identifier of a user.
Parameters Data Type Description cardIdstring The unique identifier of a card. outstandingAmountbigdecimal The total outstanding amount of a card. expirationDatestring The card expiry date. maskedCardNumberinteger The masked card number. cardHolderNamestring The cardholder's name. cardStatusstring The card status. networkstring The card network. For example, VISA. isPrimarystring Indicates whether the card is primary. Possible values: true: This a primary. false: This is not a primary card. productNamestring The card name. For example, KVB HONOUR CREDIT CARD. productTypestring The card type. Here, it is RETAIL_CREDIT_CARD. productVariantstring The card variant. Here, it is HONOUR. productVariantNamestring The card variant name. Here, it is KVB Honour Card. cardCreationDatestring The card creation date. cardHotlistedDatestring The card's hotlist date. cardClosureDatestring The card closure date. cardHotlistedReasonstring The reason for hotlisting the card. typestring The card type. Possible values: Physical: The card is physical. Virtual: The card is virtual.
Use this action code to view the spending limit of a card.
Payload Response
{
'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
}
}
}
Parameters Data Type Mandatory/Optional Description accountIdstring Mandatory The unique identifier of an account. cardIdstring Mandatory The unique identifier of a card you want to view the spending limit. UserIdstring Mandatory The unique identifier of a user.
Parameters Data Type Description cardIdstring The unique identifier of a card. domesticobject The domestic spending limit details. domestic[].onlineobject The domestic online spending limit details. domestic[].online[].perTransactionLimitinteger The single transaction limit. domestic[].online[].dailyTransactionAmountinteger The card's daily transaction amount. domestic[].online[].dailyTransactionCountinteger The card's daily transaction count. domestic[].online[].monthlyTransactionAmountinteger The card's monthly transaction amount. domestic[].online[].monthlyTransactionCountinteger The card's monthly transaction count. domestic[].posobject The domestic spending limit on POS devices details. domestic[].pos[].perTransactionLimitinteger The single transaction limit on a POS device. domestic[].pos[].dailyTransactionAmountinteger The card's daily transaction amount on a POS device. domestic[].pos[].dailyTransactionCountinteger The card's daily transaction count on a POS device. domestic[].pos[].monthlyTransactionAmountinteger The card's monthly transaction amount on a POS device. domestic[].pos[].monthlyTransactionCountinteger The card's monthly transaction count on a POS device. domestic[].atmobject The ATM spending limit details. domestic[].atm[].perTransactionLimitinteger The single transaction limit on an ATM. domestic[].atm[].dailyTransactionAmountinteger The card's daily transaction amount on an ATM. domestic[].atm[].dailyTransactionCountinteger The card's daily transaction count on an ATM. domestic[].atm[].monthlyTransactionAmountinteger The card's monthly transaction amount on an ATM. domestic[].atm[].monthlyTransactionCountinteger The card's monthly transaction counts on an ATM. domestic[].contactlessobject The contactless spending limit details. domestic[].contactless[].perTransactionLimitinteger The single contactless transaction limit. domestic[].contactless[].dailyTransactionAmountinteger The contactless transaction amount daily limit. domestic[].contactless[].dailyTransactionCountinteger The contactless transaction daily limit count. domestic[].contactless[].monthlyTransactionAmountinteger The contactless transaction monthly limit amount. domestic[].contactless[].monthlyTransactionCountinteger The contactless transaction monthly limit count.
Use this endpoint to change the spending limit of a card.
Payload Response
{
'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'
}
}
}
{}
Parameters Data Type Mandatory/Optional Description accountIdstring Mandatory The unique identifier of an account. UserIdstring Mandatory The unique identifier of a user. domesticobject Optional The domestic spending limit details. domestic[].onlineobject Optional The domestic online spending limit details. domestic[].online[].perTransactionLimitinteger Optional The single transaction limit. domestic[].online[].dailyLimitinteger Optional The card's daily limit. domestic[].online[].enabledboolean Optional Indicates whether the card is enabled for domestic online transactions. Possible values: true: Enabled for domestic transactions false: Disabled for domestic transactions. domestic[].posobject Optional The domestic spending limit on POS devices details. domestic[].pos[].perTransactionLimitinteger Optional The single transaction limit on a POS device. domestic[].pos[].dailyLimitinteger Optional The card's daily limit on a POS device. domestic[].pos[].enabledboolean Optional Indicates 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[].atmobject Optional The ATM spending limit details. domestic[].atm[].perTransactionLimitinteger Optional The single transaction limit on an ATM. domestic[].atm[].dailyLimitinteger Optional The card's daily limit on an ATM. domestic[].atm[].enabledboolean Optional Indicates 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[].contactlessobject Optional The contactless spending limit details. domestic[].contactless[].perTransactionLimitinteger Optional The single contactless transaction limit. domestic[].contactless[].dailyLimitinteger Optional The contactless transaction daily limit. domestic[].contactless[].enabledboolean Optional Indicates whether the card is enabled for contactless domestic transactions. Possible values: true: Enabled for contactless domestic transactions. false: Disabled for contactless domestic transactions.
Use this action code to freeze or unfreeze a card.
Payload Response
{
'userId': '9824c2dc-65ac-417a-a11c-43e47e8dfa7a',
'cardId': '9e23db7d-9c6a-4da3-b812-7bb1580d155a',
'status': 'FREEZE'
}
{}
Parameters Data Type Mandatory/Optional Description UserIdstring Mandatory The unique identifier of a user. cardIdstring Mandatory The unique identifier of a card. statusstring Optional The status of a card. For example, FREEZE
Use this action code to block a card.
Payload Response
{
'userId': '9824c2dc-65ac-417a-a11c-43e47e8dfa7a',
'cardId': '9e23db7d-9c6a-4da3-b812-7bb1580d155a',
'status': 'BLOCKED',
'reason': 'LOST/STOLEN/DAMAGED'
}
{}
Parameters Data Type Mandatory/Optional Description UserIdstring Mandatory The unique identifier of a user. cardIdstring Mandatory The unique identifier of a card. statusstring Optional The status of a card. For example, BLOCKED reasonstring Optional The reason to block a card.
Use this action code to replace a card.
Payload Response
{
'oldCardId': '83f1492f-d00a-4417-bfbf-7de7e13507f9'
}
{
"newcardId": "83f1492f-d00a-4417-bfbf-7de7e13507f9"
}
Parameters Data Type Mandatory/Optional Description oldCardIdstring Mandatory The old card ID.
Parameters Data Type Mandatory/Optional Description newcardIdstring Mandatory The new card ID.
Below are the action codes for managing user accounts.
Use this action code to view the list of accounts.
Payload Response
{
'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
}
}
Header Data Type Mandatory/Optional Description UserIdstring Mandatory The unique identifier of a user.
Parameters Data Type Description userIdstring The unique identifier of the user. maskedMobileNumberstring The masked mobile number of the user. accountDataobject The account details itemsobject The card details added to the account. accountData[].items[].productNamestring The card name. For example, Nyka HONOUR CREDIT CARD. accountData[].items[].productTypestring The card type. Here, it is RETAIL_CREDIT_CARD. accountData[].items[].productVariantstring The card variant. Here, it is HONOUR. accountData[].items[].productVariantNamestring The card variant name. Here, it is Nyka Honour Card. accountData[].items[].accountIdstring The unique identifier of the user account. For example, 170e13ec-9e4f-4547-a414-183cb2fb059a. accountData[].items[].programIdstring The program ID the card is added to. For example, 1abbb249-27c6-4ec5-b492-75d147e61ada. accountData[].isLastPagestring Determines whether this is the last page of the response. Possible values: accountData[].pageNumberinteger The current page number. accountData[].currentPageSizeinteger The amount of data present on the current page. accountData[].perPageSizeThe amount of data allowed on the current page. accountData[].totalItemsinteger The total amount of data present in the request. accountData[].totalPagesinteger The total number of pages present in the request.
Use this action code to view the list of accounts.
Payload Response
{
'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"
}
Parameters Data Type Mandatory/Optional Description accountIdstring Mandatory The unique identifier of an account. UserIdstring Mandatory The unique identifier of a user.
Parameters Data Type Description userIdstring The unique identifier of the user. idstring The unique identifier. accountNumberstring The associated account number. typestring The account type. enterpriseIdstring The unique identifier of an enterprise. statusstring The account status. subStatusstring The account sub-status. npaStatusstring The NPA status of an account. npaInducedBystring Indicates who induced the NPA on the account. npaReasonstring The NPA's reason. dueDateModifiedOnstring The due date modified information. dueDateUpdateEnablestring Determines whether one can update the due date of an account. programIdstring The program ID account is associated with. creditLimitstring The account's credit limit. availableCreditLimitstring The account's available credit limit. totalCreditLimitstring The account's total credit limit. maxCreditLimitstring The account's maximum credit limit. cashAdvanceLimitstring The account's cash advance limit. availableCashAdvanceLimitstring The account's available cash advance limit. availableInstallmentLimitstring The account's available installment limit. totalInstallmentCreditLimitstring The account's total installment limit. availableSavingsAccountLimitstring The account's available savings account limit. totalOverDraftLimitstring The account's total overdraft limit. overdraftLimitstring The account's overdraft limit. joiningFeestring The account's joining fee. annualFeestring The account's annual fee. cashAdvanceFeestring The account's cash advance fee. outstandingAmountstring The outstanding amount. delinquencyStatusstring The account's delinquency status. lastPaymentDatestring The account's last payment date. dueDatestring The due date of an account. accountOpeningDatestring The account opening date. billingDatestring The account billing date. paymentDueDatestring The account payment due date. delinquencyCyclestring The account delinquency cycle. delinquencyCycleDescstring The account delinquency cycle description. daysPastDuestring The days past due of an account. minimumAmountDuestring The minimum amount due for an account. overdueAmountstring The overdue amount. totalAmountDuestring The total amount due. productTypestring The card type. productVariantstring The card variant. productVariantNamestring The card variant name. currentStatementReferenceNostring The current statement reference number. autoDebitobject The auto-debit details. autoDebit[].savingsAccountNumberobject The savings account number for auto-debit. autoDebit[].typeobject The auto-debit type. autoDebit[].statusobject The auto-debit status. autoDebit[].enterpriseTypeobject The enterprise type. autoDebit[].enterpriseStatusobject The enterprise status. cardAutoRenewStatusstring The card's auto-renewal status. cardAutoRenewReasonstring The card's auto-renewal reason. branchIdstring The branch ID. nomineeRelationshipstring The nominee's relationship. nomineeNamestring The nominee's name.