Skip to main content

Cardholder

Create Cardholder​

This API allows you to create a new cardholder profile in the system.

POST {{baseUrl}}/issuing/api/:version/cardholder

Description

Creates a new cardholder record within the issuing platform. This API captures the personal details, contact information, and billing/delivery addresses of the customer. The created cardholder profile is then linked to future card issuance requests, ensuring proper identity, delivery, and billing setup.

Request Path Parameters

ParameterTypeRequiredDescription
versionstringYesAPI version number

Request Headers

ParameterTypeRequiredDescription
x-api-keystringYesShared X-API key
x-product-idstringYesShared ProductID
x-agent-codestringYesShared Agent Code
x-subagent-codestringYesShared Sub-Agent Code
x-client-idstringYesClient Identification
x-client-namestringYesName of the Client
x-request-idstringYesIdempotency key for request tracking
Content-TypestringYesMust be application/json

Request Body Parameters

ParameterTypeRequiredDescription
titlestringYesCardholder title (e.g., "Mr", "Ms")
firstNamestringYesFirst name of the cardholder
middleNamestringNoMiddle name of the cardholder
lastNamestringYesLast name of the cardholder
preferredNamestringYesDisplay/preferred name for the card
genderstringYesGender of the cardholder ("M", "F", "O")
dateOfBirthstringYesDate of birth (format: YYYY-MM-DD)
mobileCountryCodestringYesMobile country code (e.g., "91" for India)
mobilestringYesMobile number without country code
nationalitystringYesISO country code of nationality (e.g., "IN")
emailstringYesEmail address of the cardholder
deliveryAddress1stringYesPrimary delivery address line
deliveryAddress2stringYesSecondary delivery address line
deliveryCitystringYesDelivery city
deliveryStatestringYesDelivery state/province
deliveryCountrystringYesDelivery country (ISO code, e.g., "SG")
deliveryZipCodestringYesDelivery postal/zip code
billingAddress1stringYesPrimary billing address line
billingAddress2stringYesSecondary billing address line
billingCitystringYesBilling city
billingStatestringYesBilling state/province
billingCountrystringYesBilling country (ISO code, e.g., "SG")
billingZipCodestringYesBilling postal/zip code

Request Example

curl --location --request POST \
--url '{{baseUrl}}/issuing/api/:version/cardholder' \
--header 'x-api-key: {{Shared X-API key}}' \
--header 'x-product-id: {{Shared ProductID}}' \
--header 'x-agent-code: {{Shared Agent Code}}' \
--header 'x-subagent-code: {{Shared Sub-Agent Code}}' \
--header 'x-client-id: {{ClientID}}' \
--header 'x-client-name: {{ClientName}}' \
--header 'x-request-id: {{IdempotencyKey}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"title": "Mr",
"firstName": "S",
"middleName": "",
"lastName": "Sharma",
"preferredName": "S Sharma",
"gender": "M",
"dateOfBirth": "1998-08-11",
"mobileCountryCode": "62",
"mobile": "8234567896",
"nationality": "IN",
"email": "sandeep.test@yopmail.com",
"deliveryAddress1": "Mani Casadona",
"deliveryAddress2": "Action Area",
"deliveryCity": "Kolkata",
"deliveryState": "West Bengal",
"deliveryCountry": "SG",
"deliveryZipCode": "12SDF5",
"billingAddress1": "Park Street",
"billingAddress2": "Chowk Homes",
"billingCity": "Malda",
"billingState": "Punjab",
"billingCountry": "SG",
"billingZipCode": "144003"
}'

Response Example

{
"status": "success",
"message": "Cardholder created successfully.",
"code": 200,
"data": [
{
"id": "cardholder-id"
}
]
}

Get Cardholder Details​

This API is used to retrieve the cardholder details.

GET {{baseUrl}}/issuing/api/:version/cardholder

Description

Retrieves detailed information of a cardholder using the unique cardholderHash-id. This API provides cardholder profile data such as personal details, contact info, and address information.

Request Path Parameters

ParameterTypeRequiredDescription
versionstringYesAPI version number

Request Headers

ParameterTypeRequiredDescription
x-api-keystringYesShared X-API key
x-product-idstringYesShared ProductID
x-cardholderHash-idstringYesUnique identifier of the cardholder
x-client-idstringYesClient identification
x-client-namestringYesName of the client
x-request-idstringYesIdempotency key for request tracking
Content-TypestringYesMust be application/json

Request Example

curl --location --request GET \
--url '{{baseUrl}}/issuing/api/:version/cardholder' \
--header 'x-api-key: {{Shared X-API key}}' \
--header 'x-product-id: {{Shared ProductID}}' \
--header 'x-cardholderHash-id: {{CardholderID}}' \
--header 'x-client-id: {{ClientID}}' \
--header 'x-client-name: {{ClientName}}' \
--header 'x-request-id: {{IdempotencyKey}}' \
--header 'Content-Type: application/json' \

Response Example

{
"status": "success",
"message": "Cardholder details retrieved successfully",
"code": 200,
"data": [
{
"lastName": "Sharma",
"gender": "M",
"title": "Mr",
"createAt": "2025-09-22 11:25:47",
"billingAddress2": "Chowk Homes",
"billingAddress1": "Park Street",
"deliveryZipCode": "12SDF5",
"billingCountry": "SG",
"id": "cardholder-id",
"preferredName": "S Sharma",
"email": "sandeep.test@yopmail.com",
"deliveryCity": "Kolkata",
"mobileCountryCode": "65",
"mobile": "123123123",
"deliveryAddress2": "Action Area",
"billingZipCode": "144003",
"dateOfBirth": "1998-08-11",
"billingState": "Punjab",
"deliveryAddress1": "Mani Casadona",
"firstName": "S",
"nationality": "IN",
"deliveryState": "West Bengal",
"deliveryCountry": "SG",
"middleName": "",
"billingCity": "Malda",
"status": "ACTIVE"
}
]
}

Get Cardholder List​

This API allows you to retrieve a list of existing cardholders from the system.

GET {{baseUrl}}/issuing/api/:version/cardholder/list

Description

This API allows you fetch a paginated list of cardholders with optional filters. It supports pagination (page, size) and optional date range filters (from_date, to_date) to narrow down results. The response contains cardholder details along with metadata for navigation across pages.

Request Path Parameters

ParameterTypeRequiredDescription
versionstringYesAPI version number

Request Headers

ParameterTypeRequiredDescription
x-api-keystringYesShared X-API key
x-product-idstringYesShared ProductID
x-agent-codestringYesShared Agent Code
x-subagent-codestringYesShared Sub-Agent Code
x-client-idstringYesClient identification
x-client-namestringYesName of the client
x-request-idstringYesIdempotency key for request tracking
Content-TypestringYesMust be application/json

Request Query Parameters

ParameterTypeRequiredDescription
from_datestringNoStart date filter (format: YYYY-MM-DD)
to_datestringNoEnd date filter (format: YYYY-MM-DD)
pageintegerYesPage number for pagination (default: 1)
sizeintegerYesNumber of records per page (default: 20)

Request Example

curl --location --request GET \
--url '{{baseUrl}}/issuing/api/:version/cardholder/list?from_date=&to_date=&page=1&size=20' \
--header 'x-api-key: {{Shared X-API key}}' \
--header 'x-product-id: {{Shared ProductID}}' \
--header 'x-agent-code: {{Shared Agent Code}}' \
--header 'x-subagent-code: {{Shared Sub-Agent Code}}' \
--header 'x-client-id: {{ClientID}}' \
--header 'x-client-name: {{ClientName}}' \
--header 'x-request-id: {{IdempotencyKey}}' \
--header 'Content-Type: Application/json'

Response Example

{
"status": "success",
"message": "Cardholder details retrieved successfully",
"code": 200,
"data": [
{
"cardHolders": [
{
"id": "cardholder-id",
"firstName": "John Das",
"middleName": "",
"lastName": "Verma",
"preferredName": "John Das Verma",
"title": "Mr",
"gender": "M",
"dateOfBirth": "1995-03-13",
"email": "johnsmith14@yopmail.com",
"mobileCountryCode": "65",
"mobile": "1000110011",
"nationality": "IN",
"deliveryAddress1": "19 C, South City",
"deliveryAddress2": "Chowk Homes",
"deliveryCity": "Malda",
"deliveryState": "Punjab",
"deliveryCountry": "SG",
"deliveryZipCode": "258220",
"billingAddress1": "19 C, Silver Residency Apartment",
"billingAddress2": "Chowk Homes",
"billingCity": "Malda",
"billingState": "Punjab",
"billingCountry": "SG",
"billingZipCode": "144003",
"status": "ACTIVE",
"createAt": "2025-09-11 06:24:50",
"kycStatus": null
},
{
"id": "cardholder-id",
"firstName": "Khushbu",
"middleName": "Kailash",
"lastName": "Mandal",
"preferredName": "Khushbu Kailash Mandal",
"title": "Miss",
"gender": "F",
"dateOfBirth": "1985-09-04",
"email": "check122@yopmail.com",
"mobileCountryCode": "62",
"mobile": "9112347654",
"nationality": "IN",
"deliveryAddress1": "Mani",
"deliveryAddress2": "Casadona",
"deliveryCity": "Kolkata",
"deliveryState": "West Bengal",
"deliveryCountry": "ID",
"deliveryZipCode": "700156",
"billingAddress1": "Mani",
"billingAddress2": "Casadona",
"billingCity": "Kolkata",
"billingState": "West Bengal",
"billingCountry": "ID",
"billingZipCode": "700156",
"status": "ACTIVE",
"createAt": "2025-09-04 05:42:21",
"kycStatus": "COMPLETED"
}
],
"totalCount": 2
}
]
}

Activate Cardholder​

This API is used to reactivate / enable a previously deactivated cardholder profile in the system.

POST {{baseUrl}}/issuing/api/:version/cardholder/activate

Description

This API allows you to activate a registered cardholder whose profile was previously temporarily or permanently deactivated. Once activated, the cardholder regains full access to wallet and card functionalities.

Request Path Parameters

ParameterTypeRequiredDescription
versionstringYesAPI version number

Request Headers

ParameterTypeRequiredDescription
x-api-keystringYesShared X-API key
x-product-idstringYesShared ProductID
x-cardholder-idstringYesUnique identifier of the cardholder
x-client-idstringYesClient Identification
x-client-namestringYesName of the Client
x-request-idstringYesIdempotency key for request tracking
Content-TypestringYesMust be application/json

Request Example

curl --location --request POST \
--url '{{baseUrl}}/issuing/api/:version/cardholder/activate' \
--header 'x-api-key: {{Shared X-API key}}' \
--header 'x-product-id: {{Shared ProductID}}' \
--header 'x-cardholder-id: {{CardholderID}}' \
--header 'x-client-id: {{ClientID}}' \
--header 'x-client-name: {{ClientName}}' \
--header 'x-request-id: {{IdempotencyKey}}' \
--header 'Content-Type: application/json' \

Response Example

{
"status": "success",
"message": "CardHolder activated successfully!",
"code": 200,
"data": [
"ACTIVE"
]
}

Deactivate Cardholder​

This API is used to deactivates a cardholder profile from the system.

DELETE {{baseUrl}}/issuing/api/:version/cardholder

Description

This API allows you to deactivate a registered cardholder. The deactivation can be temporary or permanent depending on the value passed in the status field.

Request Path Parameters

ParameterTypeRequiredDescription
versionstringYesAPI version number

Request Headers

ParameterTypeRequiredDescription
x-api-keystringYesShared X-API key
x-product-idstringYesShared ProductID
x-cardholder-idstringYesUnique identifier of the cardholder
x-client-idstringYesClient Identification
x-client-namestringYesName of the Client
x-request-idstringYesIdempotency key for request tracking
Content-TypestringYesMust be application/json

Request Body Parameters

ParameterTypeRequiredDescription
statusstringYesAllowed values: Temporary Deactivate or Permanent Deactivate
reasonstringYesReason for deactivation

Request Example

curl --location --request DELETE \
--url '{{baseUrl}}/issuing/api/:version/cardholder' \
--header 'x-api-key: {{Shared X-API key}}' \
--header 'x-product-id: {{Shared ProductID}}' \
--header 'x-cardholder-id: {{CardholderID}}' \
--header 'x-client-id: {{ClientID}}' \
--header 'x-client-name: {{ClientName}}' \
--header 'x-request-id: {{IdempotencyKey}}' \
--header 'Content-Type: application/json' \
--data '{
"status": "Temporary Deactivate",
"reason": ""
}'

Response Example

{
"status": "success",
"message": "CardHolder deactivated successfully!",
"code": 200,
"data": [
"Temporary Deactivate"
]
}