ResponseWrapperCarteDto
Response for card instance
Status of the response
Possible values: [SUCCESS
, ERROR
]
ERROR/SUCCESS
Message describing the response
Request failed/Request successful
Code message describing the response
ERR-001/SUC-001
data object
The list of items in the current page.
International card
1
Card CVV
123
Reference number
card_50035661_13600580
Card type
Prépayé
Card number
471264******8842
Account number
1200054915582
Card number PCI
4712
Card holder last name
Essalaoui
Card holder first name
Mohamed
Card status
Active
Card status label
Active
Account currency
MAD
Card amount
1000
Creation (format dd-MM-yyyy)
20-12-2024
Expiration date (format MM/YY)
01/25
Start date of validity (format dd-MM-yyyy)
20-12-2024
Card holder agency code
00000
Possible values: [PREPAID
, DEBIT
, CARTECLUB
, CARTESELECT
, CARTECOMPTEEPARGNE
, CARTEPREPAYE
, PREPAYEMASTER
, GIMPURDDA
, GIMPUR
, PREPAYEEMASTERDDA
, VISACLASSICSANSCONTACT
, VISAGOLDSANSCONTACT
, PREPAYEEMASTERCARDCONTACTLESS
]
Renewal option
false
genericCardLimits object[]
Service code
GLOBAL
Service label
Plafond Global
cardLimitsByType object[]
The type code of the card
GLOBAL
The value associated with the card
3000
The formatted value of the card
3000 MAD
The maximum card limit
5000
The minimum card limit
1000
The end date of the card's validity (format : dd-MM-yyyy)
12-02-2024
The type label of the card
Standard
The consumed amount on the card
250
The percentage of the card that has been consumed
25
The plafond (limit) type label
Credit Limit
Eligibility for limit modification
true
Card balance
1 000,00 MAD
Card image (eg: format base64)
DFlQMFvU7s3Wqr8JHCvmlR95hBx5mUqr/lY
Current status
false
Plastic code
471264******8842
Card holder
Essalaoui
Activation date (format dd-MM-yyyy)
20-12-2024
Contactless card
false
Card validity
1
Bank account number
1200054915582
Card holder reference
card_50035661_13600580
Deferred card
false
Card identification
card_50035661_13600580
Card image URL
/images/card_50035661_13600580.png
Card type code
71881
Card phone number
+212600000000
Card state
Active
Card holder name
Essalaoui
Card holder identification
14447
Card token
card_50036121_13600580
External contract reference
REF_CONTRAT_EXTERNE
Unsecure payment status label
Active
The account used for billing purposes
1200054915582
error object
Detailed information about the error response
Error code
ERR-142
Error message
Resource not found / Internal server error
details object[]
List of error details
Error code
ER4001
Detailed error message
Invalid input
Target of the error
username
List of suggestions for resolving the error
["Check the resource ID","Ensure the resource exists"]
metaData object
Additional metadata about the error, that could help in debugging
Additional metadata about the error, that could help in debugging
{"requestId":"3c5e4cebf39cbc5b","operationId":"66fd4d2ae6b6"}
Timestamp of when the response was generated
{
"status": "ERROR/SUCCESS",
"message": "Request failed/Request successful",
"codeMessage": "ERR-001/SUC-001",
"data": {
"isInternationnal": 1,
"eligibleModificationPlafonds": true,
"cvv": "123",
"contactLess": "string",
"cardId": "string",
"referenceNumber": "card_50035661_13600580",
"cardType": "Prépayé",
"cardNumber": "471264******8842",
"accountNumber": "1200054915582",
"cardNumberPci": "4712",
"holderLastName": "Essalaoui",
"holderFirstName": "Mohamed",
"status": "Active",
"statusLabel": "Active",
"accountCurrency": "MAD",
"cardAmount": "1000",
"validityDate": "string",
"creationDate": "20-12-2024",
"expirationDate": "01/25",
"startValDate": "20-12-2024",
"cardHolderAgencyCode": "00000",
"dailyLocalMoneyDeposit": "string",
"cardProductType": "PREPAID",
"renewalOption": false,
"genericCardLimits": [
{
"serviceCode": "GLOBAL",
"serviceLabel": "Plafond Global",
"cardLimitsByType": [
{
"typeCode": "GLOBAL",
"value": "3000",
"valueFormatted": "3000 MAD",
"maximum": 5000,
"minimum": 1000,
"endDate": "12-02-2024",
"eligibleModification": true,
"typeLabel": "Standard",
"consumedAmount": "250",
"consumedPercentage": "25",
"limitTypeLabel": "Credit Limit"
}
]
}
],
"isEligibleForLimitModification": true,
"cardBalance": "1 000,00 MAD",
"cardImage": "DFlQMFvU7s3Wqr8JHCvmlR95hBx5mUqr/lY",
"currentStatus": "false",
"plasticCode": "471264******8842",
"cardHolder": "Essalaoui",
"activationDate": "20-12-2024",
"isContactless": "false",
"isValid": 1,
"bankAccountNumber": "1200054915582",
"cardHolderReference": "card_50035661_13600580",
"isDeferred": false,
"cardIdentification": "card_50035661_13600580",
"imageUrl": "/images/card_50035661_13600580.png",
"cardTypeCode": "71881",
"cardUsage": "string",
"cardPhoneNumber": "+212600000000",
"state": "Active",
"cardHolderName": "Essalaoui",
"holderIdentification": "14447",
"cardToken": "card_50036121_13600580",
"externalContractReference": "REF_CONTRAT_EXTERNE",
"unsecurePaymentStatusLabel": "Active",
"billingAccount": "1200054915582"
},
"error": {
"code": "ERR-142",
"message": "Resource not found / Internal server error",
"details": [
{
"code": "ER4001",
"message": "Invalid input",
"target": "username"
}
],
"suggestions": [
"Check the resource ID",
"Ensure the resource exists"
],
"metaData": {
"requestId": "3c5e4cebf39cbc5b",
"operationId": "66fd4d2ae6b6"
}
},
"timestamp": "2024-07-29T15:51:28.071Z"
}