Create Card Level Limit API

The Create Card Level Limit API is used to set the limits on the card transactions in terms of amount and the number of transactions on top of the transaction channels.

Possible limits that can be set are:

  • Per transaction amount
  • Daily amount
  • Monthly amount
  • Yearly amount
  • Daily no. of transactions (velocity)
  • Monthly no. of transactions (velocity)
  • Yearly no. of transactions (velocity)

The limit restoration shall happen at:

  • Daily limits will be restored at 11:59:59 HR every day.
  • Monthly limits will be restored at 11:59:59 HR on the last day of the calendar month.
  • Yearly limits will be restored at 11:59:59 HR on the last day of the calendar year.

Environment

Sample request
curl --request POST \
     --url https://payusandbox-kong.pc.enstage-sas.com/hexappiuat/api/v2/qa/payuppi/odrService/api/odr/v2/viewservicerequests \
     --header 'X-Consumer-Custom-ID: 8654891RYY57Q0C54329BAD9C7A2DU0G1' \
     --header 'bankId: 6060' \
     --header 'clientId: 2040' \
     --header 'content-type: application/json' \
     --header 'entityId: 100' \
     --header 'secureCode: FSeAh0yFMopKgU6UNuYLk6' \
     --header 'x-api-key: 4A02C4267C9A97A1488AB3259FD1A725' \
     --data '
{
  "token": "cbmybddd/blVjlCsFeyyva3WxJaMO0uxS+Mn/IsXi2zFi5W1M6tJYceQ4sUFJ8FZR0FmBklVbctfiSHBR4Yw/G0vFzJHby6O1CjVpYLRnMKnmDraLKcXxRqXmEc2x2fhsbhOe/9IDdnvTAnoeBizkygnUaMxWTh3mqrPBrhIR+jhbpLRATv+USKxccqmWXd7wW38KAql8uK4AbY6802/sw=="
}
'
Response parameters (Decrypted)

This API will provide a token in the response that must be decrypted using the Decrypt API. The decrypted response is similar to the following:

AttributeTypeParameter RequirementDescription
responseCodeNumeric (4)MandatoryAPI response code
responseMessageString (100)MandatoryAPI response description based on the response code
responseDateTimeDD-MM-YYYY HH:MM:SSMandatoryResponse timestamp
idNumeric (10)MandatoryUnique ID generated for the limit created.
clientIdNumeric (10)MandatoryClient ID for the program
programIdNumeric (2)MandatoryEchoed from request.
kycProfileIdNumeric (3)MandatoryEchoed from the request.
urnNumeric (20)MandatoryUnique reference number for the customer
customerIdStringMandatoryUnique identifier for the customer.
fundFlowTypeNumeric (2)MandatoryEchoed from the request.
channelIdNumeric (2)MandatoryEchoed from the request.
perTxnLimitNumeric (10)MandatoryPer transaction limit
dailyLimitNumeric (10)OptionalDaily limit
yearlyLimitNumeric (10)Optionalyearly limit
monthlyLimitNumeric (10)OptionalMonthly limit
dailyCountNumeric (10)OptionalDaily txn count
yearlyCountNumeric (10)Optionalyearly txn count
monthlyCountNumeric (10)OptionalMonthly txn count
outstandingBalanceNumeric (10)OptionalOverall limit of the card
statusNumeric (10)MandatoryStatus of the request.
createdDateTimeDD-MM-YYYY HH:MM:SSMandatoryCreated date time of the limit
lastModifiedDateTimeDD-MM-YYYY HH:MM:SSMandatorymodified date time of the limit
Sample response (Decrypted)
{
    "responseCode": 0,
    "responseMessage": "SUCCESS",
    "responseDateTime": "02-05-2024 12:37:56",
    "id": 8,
    "clientId": "2",
    "programId": "3",
    "customerId": "000000000225",
    "urn": "10000519",
    "kycProfileId": "150",
    "fundFlowType": "2",
    "channelId": "1",
    "perTxnLimit": "1000",
    "dailyCount": "10",
    "dailyLimit": "5000",
    "monthlyCount": "60",
    "monthlyLimit": "40000",
    "yearlyCount": "100",
    "yearlyLimit": "100000",
    "outstandingBalance": "5000",
    "status": 1,
    "createdDateTime": "02-05-2024 12:37:55",
    "lastModifiedDateTime": "02-05-2024 12:37:55"
}
Error codes
Error CodeDescription
500SYSTEM ERROR
400BAD REQUEST
10701INVALID CLIENT ID
10701INVALID BANK ID
10617PROGRAM ID SHOULD CONTAIN ONLY NUMBERS
10618CUSTOMER ID SHOULD CONTAIN ONLY NUMBERS
10619URN SHOULD CONTAIN ONLY NUMBERS
10620KYC PROFILE ID SHOULD CONTAIN ONLY NUMBERS
10621FUND FLOW TYPE SHOULD CONTAIN ONLY NUMBERS
10622CHANNEL ID SHOULD CONTAIN ONLY NUMBERS"
10106PROGRAM ID MISSING
10107CLIENT ID MISSING IN HEADER
10108CUSTOMER ID MISSING
10110ATLEAST ONE FIELD IS REQUIRED FOR MODIFICATION
10111INVALID CONTENT TYPE. NEED ARRAY
10112RECORD ALREADY DELETED
10113INVALID STATUS
10114INVALID CUSTOMER-ID
10115INVALID PROGRAM-ID
10116INVALID FUND FLOW TYPE
10117INVALID KYC PROFILE ID
10118INVALID CHANNELID
10119KYC PROFILE ID IS MISSING OR IS LESS THAN EQUAL TO ZERO
10120FUND FLOW TYPE IS MISSING OR IS LESS THAN EQUAL TO ZERO
10121CHANNELID IS MISSING OR IS LESS THAN EQUAL TO ZERO
10191CARD LEVEL LIMIT ALREADY EXISTS
10193CARD LIMIT OR COUNT CANNOT EXCEED CUSTOMER LIMIT
10194CARD LIMIT OR COUNT CANNOT EXCEED PROGRAM LIMIT
10195NO EXISTING PROGRAM FOR THIS CARD

Request parameters