Skip to main content

Cards

You can create cardholders, which are authorized representatives of your business that can be issued cards.

Create Cardholderโ€‹

POST {{baseUrl}}/zoqq/api/v1/card/cardholder

Description

Cardholders are authorized representatives of your business. Two types of cardholders are permitted: Individual and Delegate.

INDIVIDUAL: A cardholder who is associated with a named individual that is a representative of your business. Can be associated with a personalized or non-personalized card.
DELEGATE: A cardholder assigned only to non-personalized cards. They act as authorized users on behalf of your business. Cards issued to delegate cardholders will be associated with the name of your business.
Creating a cardholder requires passing a name screening process, which involves submitting basic information about the cardholder.

๐Ÿ“ฉ Request Headers

x-api-key string required

Shared X-API key by Zoqq

x-product-id string required

Shared Product ID by Zoqq

x-request-id string required

Idempotency key for request tracking

x-user-id string required

User identification key

agent-code string

Shared Agent Code

subagent-code string

Shared Sub Agent Code

Content-Type string required

Must be application/json

Authorization string required

Bearer access token

๐Ÿ“ฆ Request Body Parameters

email string required

Email address of the cardholder

mobile_number string required

Cardholder's mobile number

country_code string

Individual's nationality. (2-letter ISO 3166-2 country code)

individual object conditional

Details about the cardholder. Only relevant for individual cardholder type.

date_of_birth string required

Date of birth ((ISO 8601 date format: YYYY-MM-DD))

name object required

Full name of the Individual. Only characters in English are supported

title string

Optional title of cardholder

first_name string required

First name of cardholder

middle_name string

Middle name of cardholder

last_name string required

Last name of cardholder

address object required

Physical address of cardholder

city string required

City of address

country string required

Country code (2-letter ISO 3166-2) of address

line1 string required

Address line 1

state string required

Address state

postcode string required

Address postal code

employers array

Information of the individual's employers

business_identifiers array

Local business registration number i.e. an official signal of identification for the business

country_code string

Country code (2-letter ISO 3166-2 code).

number string

Local business registration number

type string

Type of business registration number

business_name string

Name of the employer

postal_address object conditional

Optional postal address of the cardholder. Only required if different to address and physical cards are to be issued.

city string required

City of address

country string required

Country code (2-letter ISO 3166-2) of address

line1 string required

Address line 1

state string required

Address state

postcode string required

Address postal code

type string required

Type of cardholder. Allowed value: INDIVIDUAL, DELEGATE

created_by string required

Creator identifier

Request Example

curl --location --request POST \
--url '{{baseUrl}}/zoqq/api/v1/card/cardholder' \
--header 'x-api-key: {{Shared X-API key By Zoqq}}' \
--header 'x-product-id: {{Shared ProductID By Zoqq}}' \
--header 'x-request-id: {{IdempotencyKey}}' \
--header 'x-user-id: {{UserID}}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{AccessToken}}'
--data-raw '{
"email": "testapiair78@yopmail.com",
"mobile_number": "86689006",
"individual": {
"date_of_birth": "1990-01-01",
"name": {
"title": "Mr",
"first_name": "John",
"middle_name":"P",
"last_name": "Doe"
},
"address": {
"city": "New York",
"country": "SG",
"line1": "123 5th Avenue",
"state": "NY",
"postcode": "10001"
}
},
"postal_address": {
"city": "New York",
"country": "SG",
"line1": "123 5th Avenue",
"state": "NY",
"postcode": "10001"
},
"type": "INDIVIDUAL",
"created_by": "test"
}'

Response Example

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

Get All Cardholdersโ€‹

GET {{baseUrl}}/zoqq/api/v1/card/cardholder

Description

This API returns a list of all cardholders, allowing you to view and manage cardholder details easily.

๐Ÿ“ฉ Request Headers

x-api-key string required

Shared X-API key by Zoqq

x-product-id string required

Shared Product ID by Zoqq

x-request-id string required

Idempotency key for request tracking

x-user-id string required

User identification key

Content-Type string required

Must be application/json

Authorization string required

Bearer access token

๐Ÿ” Query Parameters

status string

Cardholder status filter. Allowed values: PENDING, READY

page_num integer

Page number for pagination

page_size integer

Number of items per page

Request Example

curl --location --request GET \
--url '{{baseUrl}}/zoqq/api/v1/card/cardholder' \
--header 'x-api-key: {{Shared X-API key By Zoqq}}' \
--header 'x-product-id: {{Shared ProductID By Zoqq}}' \
--header 'x-request-id: {{IdempotencyKey}}' \
--header 'x-user-id: {{UserID}}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{AccessToken}}'

Response Example

{
"status": "success",
"message": "Cardholder fetched successfully",
"code": 200,
"data": [
{
"id": "cardholder-id",
"email": "demo@yopmail.com",
"status": "READY",
"individual": null,
"mobile_number": "91-95053039",
"postal_address": null,
"type": "DELEGATE",
"created_by": "test",
"created_at": "2025-07-10T05:42:45"
},
{
"id": "cardholder-id",
"email": "testapiair99@yopmail.com",
"status": "PENDING",
"individual": {
"date_of_birth": "1990-01-01",
"identification": {
"country": "US",
"expiry_date": "2030-12-31",
"number": "ID123456789",
"type": "PASSPORT"
},
"name": {
"title": "miss",
"first_name": "John",
"middle_name": "singh",
"last_name": "Doe"
},
"address": {
"city": "New York",
"country": "SG",
"line1": "123 5th Avenue",
"state": "NY",
"postcode": "10001"
}
},
"mobile_number": "1234567890",
"postal_address": {
"city": "New York",
"country": "SG",
"line1": "123 5th Avenue",
"state": "NY",
"postcode": "10001"
},
"type": "INDIVIDUAL",
"created_by": "test",
"created_at": "2025-08-08T06:03:12"
}
]
}

Get Cardholder Detailsโ€‹

GET {{baseUrl}}/zoqq/api/v1/card/cardholder

Description

This API is used to retrieve the details of a specific cardholder. You must provide the Cardholder ID as a query parameter to identify the cardholder.

๐Ÿ“ฉ Request Headers

x-api-key string required

Shared X-API key by Zoqq

x-product-id string required

Shared Product ID by Zoqq

x-request-id string required

Idempotency key for request tracking

x-user-id string required

User identification key

Content-Type string required

Must be application/json

Authorization string required

Bearer access token

๐Ÿ” Query Parameters

id string required

Unique identifier for cardholder

Request Example

curl --location --request GET \
--url '{{baseUrl}}/zoqq/api/v1/card/cardholder?id={{CardholderID}}' \
--header 'x-api-key: {{Shared X-API key By Zoqq}}' \
--header 'x-product-id: {{Shared ProductID By Zoqq}}' \
--header 'x-request-id: {{IdempotencyKey}}' \
--header 'x-user-id: {{UserID}}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{AccessToken}}'

Response Example

{
"status": "success",
"message": "Cardholder fetched successfully",
"code": 200,
"data": [
{
"id": "cardholder-id",
"email": "demo@yopmail.com",
"status": "READY",
"individual": null,
"mobile_number": "91-95053039",
"postal_address": null,
"type": "DELEGATE",
"created_by": "test",
"created_at": "2025-07-10T05:42:45"
}
]
}

Update Cardholderโ€‹

PATCH {{baseUrl}}/zoqq/api/v1/card/cardholder

Description

This endpoint updates card holder information including physical address, postal address, and contact details.Update a cardholder with selected information. All fields are optional, and only those provided will be updated. If a composite object, e.g. name is provided, then all of its child fields must be provided and valid. Updating the cardholder may re-trigger the name screening process.

๐Ÿ“ฉ Request Headers

x-api-key string required

Shared X-API key by Zoqq

x-product-id string required

Shared Product ID by Zoqq

x-request-id string required

Idempotency key for request tracking

x-user-id string required

User identification key

Content-Type string required

Must be application/json

Authorization string required

Bearer access token

๐Ÿ“ฆ Request Body Parameters

mobile_number string

Cardholder's mobile number

country_code string

Individual's nationality. (2-letter ISO 3166-2 country code)

individual object conditional

Details about the cardholder. Only relevant for individual cardholder type.

address object required

Physical address of cardholder

city string required

City of address

country string required

Country code (2-letter ISO 3166-2 ) of address

line1 string required

Address line 1

state string required

Address state

postcode string required

Address postal code

postal_address object conditional

Optional postal address of the cardholder. Only required if different to address and physical cards are to be issued.

city string required

City of address

country string required

Country code (2-letter ISO 3166-2 ) of address

line1 string required

Address line 1

state string required

Address state

postcode string required

Address postal code

updated_by string required

User updating the details

๐Ÿ” Query Parameters

id string required

Unique identifier for cardholder

Request Example

curl --location --request PATCH \
--url '{{baseUrl}}/zoqq/api/v1/card/cardholder?id={{CardholderID}}' \
--header 'x-api-key: {{Shared X-API key By Zoqq}}' \
--header 'x-product-id: {{Shared ProductID By Zoqq}}' \
--header 'x-request-id: {{IdempotencyKey}}' \
--header 'x-user-id: {{UserID}}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{AccessToken}}'
--data '{
"individual": {
"address": {
"city": "Austin",
"country": "US",
"line1": "1234 Elm Street",
"state": "TX",
"postcode": "94932"
}
},
"postal_address": {
"city": "Los Angeles",
"country": "US",
"line1": "5678 Oak Avenue",
"state": "CA",
"postcode": "94932"
},
"updated_by": "user"
}'

Response Example

{
"status": "success",
"message": "Cardholder updated successfully.",
"code": 200
}

Delete Cardholderโ€‹

DELETE {{baseUrl}}/zoqq/api/v1/card/cardholder

Description

Permanently deletes a specified cardholder from the system. This action is irreversible.

๐Ÿ“ฉ Request Headers

x-api-key string required

Shared X-API key by Zoqq

x-product-id string required

Shared Product ID by Zoqq

x-request-id string required

Idempotency key for request tracking

x-user-id string required

User identification key

Content-Type string required

Must be application/json

Authorization string required

Bearer access token

๐Ÿ” Query Parameters

id string required

Unique Identifier for cardholder

Request Example

curl --location --request DELETE \
--url '{{baseUrl}}/zoqq/api/v1/card/cardholder?id={{CardholderID}}' \
--header 'x-api-key: {{Shared X-API key By Zoqq}}' \
--header 'x-product-id: {{Shared ProductID By Zoqq}}' \
--header 'x-request-id: {{IdempotencyKey}}' \
--header 'x-user-id: {{UserID}}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{AccessToken}}'

Response Example

{
"status": "success",
"message": "Cardholder deleted successfully.",
"code": 200
}

Create Cardโ€‹

POST {{baseUrl}}/zoqq/api/v1/card

Description

The card object represents the resource associated with a card issued by Zoqq. It contains details such as the linked account, embossed name (for physical cards), shipping method and information (for physical cards), and card-based spend controls (e.g., transaction limits, blocked merchant category codes, etc.). The card object also specifies the intended user (e.g., clients, customers, or employees), the form factor (physical or virtual), and the usage type (single-use or multi-use).

๐Ÿ“ฉ Request Headers

x-api-key string required

Shared X-API key by Zoqq

x-product-id string required

Shared Product ID by Zoqq

x-request-id string required

Idempotency key for request tracking

x-user-id string required

User identification key

Content-Type string required

Must be application/json

Authorization string required

Bearer access token

๐Ÿ“ฆ Request Body Parameters

card_issuance_action string required

Card issuance type. Allowed values: NEW, REPLACEMENT

card_type string required

Type of card. Allowed values: PHYSICAL, VIRTUAL

card_holder_id string required

The ID of the cardholder to associate this card with.

created_by string required

Full legal name of user requesting new card

request_id string required

Unique request ID used for idempotency

program object required

Program details for card issuance.

purpose string required

Purpose of the card. Allowed values: COMMERCIAL, CONSUMER.

authorization_controls object required

Transaction control configurations.

allowed_transaction_count string required

Specifies whether this card is a Single or Multiple Use card. Possible values are SINGLE, MULTIPLE. Single Use means that the card can only be used for 1 successful debit transaction.

transaction_limits object required

Configuration for transaction limits.

currency string required

Currency for transaction limits (3-letter ISO-4217 code)

limits array required

Transaction limits are based on interval and amount

amount double required

Transaction limit amount. Must be greater than 0.

interval string required

Limit interval: PER_TRANSACTION, DAILY, WEEKLY, MONTHLY, ALL_TIME.

postal_address object conditional

Delivery detail of the card. Only available for physical cards

city string required

City name.

country string required

Country code (2-letter ISO 3166-2 code).

line1 string required

Street address line 1.

state string required

State or province.

postcode string required

Postal or ZIP code.

is_personalized boolean required

Indicates whether the card is assigned to a single individual or to the business with multiple authorized users. Only personalized cards can be physical and added to digital wallets.

Request Example

curl --location --request POST \
--url '{{baseUrl}}/zoqq/api/v1/card' \
--header 'x-api-key: {{Shared X-API key By Zoqq}}' \
--header 'x-product-id: {{Shared ProductID By Zoqq}}' \
--header 'x-request-id: {{IdempotencyKey}}' \
--header 'x-user-id: {{UserID}}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{AccessToken}}' \
--data '{
"card_issuance_action": "NEW",
"card_type": "PHYSICAL",
"card_holder_id": "{{CardholderID}}",
"created_by": "Postman Test",
"request_id": "{{IdempotencyKey}}",
"program": {
"purpose": "COMMERCIAL"
},
"authorization_controls": {
"allowed_transaction_count": "MULTIPLE",
"transaction_limits": {
"currency": "SGD",
"limits": [
{
"amount": 10000,
"interval": "PER_TRANSACTION"
}
]
}
},
"postal_address": {
"city": "Singapore",
"country": "SG",
"line1": "21 Pasir Ris Street 72",
"state": "Singapore",
"postcode": "518764"
},
"is_personalized": true
}'

Response Example

{
"code": 200,
"status": "success",
"message": "",
"data": {
"id": "card-id"
}
}

Get All Cardsโ€‹

GET {{baseUrl}}/zoqq/api/v1/card

Description

This endpoint returns a list of all cards (both physical and virtual) associated with the authenticated user. The response includes key card attributes such as card status, masked number, type, associated cardholder ID, and timestamps for creation and updates.
You can also filter the results using query parameters such as card ID and card status to retrieve specific card records.

๐Ÿ“ฉ Request Headers

x-api-key string required

Shared X-API key by Zoqq

x-product-id string required

Shared Product ID by Zoqq

x-request-id string required

Idempotency key for request tracking

x-user-id string required

User identification key

Content-Type string required

Must be application/json

Authorization string required

Bearer access token

๐Ÿ” Query Parameters

id string

Unique identifier for card

status string

Card status filter. Allowed values: ACTIVE, INACTIVE

page_num integer

Page number for pagination

page_size integer

Number of items per page

Request Example

curl --location --request GET \
--url '{{baseUrl}}/zoqq/api/v1/card' \
--header 'x-api-key: {{Shared X-API key By Zoqq}}' \
--header 'x-product-id: {{Shared ProductID By Zoqq}}' \
--header 'x-request-id: {{IdempotencyKey}}' \
--header 'x-user-id: {{UserID}}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{AccessToken}}'

Response Example

{
"code": 200,
"status": "success",
"message": "",
"data": [
{
"cardHashId": "card-hash-id",
"cardStatus": "ACTIVE",
"maskedCardNumber": "************4639",
"cardholderId": "",
"createdAt": "2025-04-02T07:36:56.973+0000",
"updatedAt": "2025-04-23T05:45:12.422+0000",
"nameOnCard": "Postman Test",
"cardType": "VIRTUAL",
"currency": "USD"
},
{
"cardHashId": "card-hash-id",
"cardStatus": "INACTIVE",
"maskedCardNumber": "************6886",
"cardholderId": "",
"createdAt": "2025-03-31T08:02:20.000+0000",
"updatedAt": "2025-03-31T08:02:20.000+0000",
"nameOnCard": "demozoqq",
"cardType": "PHY",
"currency": "SGD"
}
]
}

Get All Cards By Cardholder IDโ€‹

GET {{baseUrl}}/zoqq/api/v1/card

Description

This API allows you to retrieve all cards associated with a particular cardholder from the system.

๐Ÿ“ฉ Request Headers

x-api-key string required

Shared X-API key by Zoqq

x-product-id string required

Shared Product ID by Zoqq

x-request-id string required

Idempotency key for request tracking

x-user-id string required

User identification key

Content-Type string required

Must be application/json

Authorization string required

Bearer access token

๐Ÿ” Query Parameters

cardholder_id string required

Unique identifier for cardholder

Request Example

curl --location --request GET \
--url '{{baseUrl}}/zoqq/api/v1/card?cardholder_id={{CardholderID}}' \
--header 'x-api-key: {{Shared X-API key By Zoqq}}' \
--header 'x-product-id: {{Shared ProductID By Zoqq}}' \
--header 'x-request-id: {{IdempotencyKey}}' \
--header 'x-user-id: {{UserID}}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{AccessToken}}'

Response Example

{
"status": "success",
"message": "Card fetched successfully",
"code": 200,
"data": [
{
"card_hash_id": "card-hash-id",
"card_status": "ACTIVE",
"masked_card_number": "************1163",
"cardholder_id": "cardholder_id",
"created_at": "2025-08-13T08:29:04",
"updated_at": null,
"name_on_card": "test",
"card_type": "VIRTUAL",
"currency": "USD",
"postal_address": null
},
{
"card_hash_id": "card-hash-id",
"card_status": "ACTIVE",
"masked_card_number": "************0647",
"cardholder_id": "cardholder_id",
"created_at": "2025-08-13T07:19:17",
"updated_at": null,
"name_on_card": "10210",
"card_type": "VIRTUAL",
"currency": "USD",
"postal_address": null
}
]
}

Show Card Detailsโ€‹

GET {{baseUrl}}/zoqq/api/v1/card/detail

Description

This endpoint returns sensitive card details that are typically masked in other endpoints.

๐Ÿ“ฉ Request Headers

x-api-key string required

Shared X-API key by Zoqq

x-product-id string required

Shared Product ID by Zoqq

x-request-id string required

Idempotency key for request tracking

x-user-id string required

User identification key

Content-Type string required

Must be application/json

Authorization string required

Bearer access token

๐Ÿ” Query Parameters

id string required

Unique identifier for card

Request Example

curl --location --request GET \
--url '{{baseUrl}}/zoqq/api/v1/card/detail?id={{CardID}}' \
--header 'x-api-key: {{Shared X-API key By Zoqq}}' \
--header 'x-product-id: {{Shared ProductID By Zoqq}}' \
--header 'x-request-id: {{IdempotencyKey}}' \
--header 'x-user-id: {{UserID}}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{AccessToken}}'

Response Example

{
"status": "success",
"message": "Card details fetched successfully.",
"code": 200,
"data": [
{
"personalized": true,
"card_id": "card-id",
"card_bin": null,
"card_scheme": "VISA",
"card_currency": "SGD",
"card_number": "************2145",
"form_factor": "PHYSICAL",
"mode_type": null,
"card_product_id": null,
"card_limit": 15000.0,
"available_balance": null,
"cardholder": {
"cardholder_id": "cardholder-id",
"email": "",
"number_of_cards": null,
"first_name": "",
"last_name": null,
"create_time": "2025-08-27T12:04:10.912+0000",
"cardholder_status": null,
"date_of_birth": null,
"country_code": "SG",
"phone_number": ""
},
"spending_controls": [
{
"amount": 15000.0,
"interval": "PER_TRANSACTION",
"remaining": 15000.0
}
],
"authorization_controls": {
"active_from": "2025-08-27T00:00:00.000+00:00",
"active_to": "2025-12-31T23:59:59.000+00:00",
"allowed_currencies": [
"USD",
"EUR",
"INR"
],
"allowed_merchant_categories": []
},
"no_pin_payment_amount": null,
"risk_controls": null,
"metadata": {},
"card_status": "INACTIVE",
"brand": "VISA",
"cardholder_id": "cardholder-id",
"created_at": null,
"created_by": "user",
"is_personalized": true,
"name_on_card": "John Doe",
"nick_name": "Testair",
"program": {
"purpose": "COMMERCIAL",
"type": "DEBIT"
},
"purpose": null,
"delivery_details": {
"delivery_mode": "MAIL",
"delivery_vendor": "DHL",
"status": "PRINTED",
"tracked": true,
"tracking_link": "tracking-link",
"tracking_number": "ABCD1234",
"updated_at": "2026-02-06T00:00:00.000+0000"
},
"postal_address": {
"city": "Singapore",
"country": "SG",
"line1": "21 Pasir Ris Street 72",
"line2": "null",
"postcode": "518764",
"state": "Singapore"
}
}
]
}

Activate Cardโ€‹

POST {{baseUrl}}/zoqq/api/v1/card/activate

Description

This API is used to activate a physical card for card payment authorizations.

๐Ÿ“ฉ Request Headers

x-api-key string required

Shared X-API key by Zoqq

x-product-id string required

Shared Product ID by Zoqq

x-request-id string required

Idempotency key for request tracking

x-user-id string required

User identification key

Content-Type string required

Must be application/json

Authorization string required

Bearer access token

๐Ÿ” Query Parameters

id string required

Unique identifier for card to activate

Request Example

curl --location --request POST \
--url '{{baseUrl}}/zoqq/api/v1/card/activate?id={{CardID}}' \
--header 'x-api-key: {{Shared X-API key By Zoqq}}' \
--header 'x-product-id: {{Shared ProductID By Zoqq}}' \
--header 'x-request-id: {{IdempotencyKey}}' \
--header 'x-user-id: {{UserID}}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{AccessToken}}'

Response Example

{
"code": 200,
"status": "success",
"message": "card activated successfully"
}

Update Cardโ€‹

This API updates card details including authorization controls and status.

PATCH {{baseUrl}}/zoqq/api/v1/card

Description

This endpoint updates card details by setting the values of the included parameters. Parameters that are not included will be left unchanged.

๐Ÿ“ฉ Request Headers

x-api-key string required

Shared X-API key by Zoqq

x-product-id string required

Shared Product ID by Zoqq

x-request-id string required

Idempotency key for request tracking

x-user-id string required

User identification key

Content-Type string required

Must be application/json

Authorization string required

Bearer access token

๐Ÿ“ฆ Request Body Parameters

card_status string

Card status. Allowed values: ACTIVE, INACTIVE, CLOSED.

currency string

Currency for transaction limits (3-letter ISO-4217 code).

transaction_limits array

Array of transaction limits.

type string required

Type of limit. Allowed values: PER_TRANSACTION, DAILY, WEEKLY, MONTHLY, ALL_TIME.

value double required

Numerical value of the transaction limit.

authorization_controls object

Controls for restricting card authorization.

active_from string

Start date-time from which card is active (ISO 8601 format: YYYY-MM-DDTHH:mm:ssZ).

active_to string

End date-time until which card remains active. (ISO 8601 format: YYYY-MM-DDTHH:mm:ssZ).

allowed_currencies array of string

Allowed currencies for card transactions following 3-letter ISO-4217 currency code.
(e.g.: ["USD", "EUR"]).

allowed_merchant_categories array of string

Allowed merchant category codes (4-digit MCCs).

updated_by string required

User updating the details

๐Ÿ” Query Parameters

id string required

Unique identifier for card to update

Request Example

curl --location --request PATCH \
--url '{{baseUrl}}/zoqq/api/v1/card?id={{CardID}}' \
--header 'x-api-key: {{Shared X-API key By Zoqq}}' \
--header 'x-product-id: {{Shared ProductID By Zoqq}}' \
--header 'x-request-id: {{IdempotencyKey}}' \
--header 'x-user-id: {{UserID}}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{AccessToken}}' \
--data '{
"card_status": "ACTIVE",
"currency": "USD",
"transaction_limits": [
{
"type": "DAILY",
"value": 1
}
],
"authorization_controls": {
"active_from": "2025-05-01T00:00:00Z",
"active_to": "2025-12-31T23:59:59Z",
"allowed_currencies": ["USD", "EUR", "INR"],
"allowed_merchant_categories": ["5411", "5732", "5999"]
},
"updated_by": "test"
}'

Response Example

{
"code": 200,
"status": "success",
"message": "card updated successfully"
}

Get Card Transactionsโ€‹

GET {{baseUrl}}/zoqq/api/v1/card/transaction

Description

This endpoint returns a paginated list of transactions for a specific card, including detailed merchant information, transaction amounts, and status.

๐Ÿ“ฉ Request Headers

x-api-key string required

Shared X-API key by Zoqq

x-product-id string required

Shared Product ID by Zoqq

x-request-id string required

Idempotency key for request tracking

x-user-id string required

User identification key

Content-Type string required

Must be application/json

Authorization string required

Bearer access token

๐Ÿ” Query Parameters

id string required

Unique identifier for card

page_num integer

Page number for pagination

page_size integer

Number of items per page

from_created_at string conditional

Start date to filter records created on or after this date. (ISO 8601 date format: YYYY-MM-DD). Must be provided together with to_created_at.

to_created_at string conditional

End date to filter records created on or before this date. (ISO 8601 date format: YYYY-MM-DD). Must be provided together with from_created_at.

Request Example

curl --location --request GET \
--url '{{baseUrl}}/zoqq/api/v1/card/transaction?id={{CardID}}' \
--header 'x-api-key: {{Shared X-API key By Zoqq}}' \
--header 'x-product-id: {{Shared ProductID By Zoqq}}' \
--header 'x-request-id: {{IdempotencyKey}}' \
--header 'x-user-id: {{UserID}}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{AccessToken}}'

Response Example

{
"code": 200,
"status": "success",
"message": "",
"data": {
"has_more": true,
"items": [
{
"acquiring_institution_identifier": "123456",
"auth_code": "000001",
"billing_amount": 100,
"billing_currency": "USD",
"card_id": "",
"card_nickname": "string",
"client_data": "Some client data",
"digital_wallet_token_id": "",
"failure_reason": "INSUFFICIENT_FUNDS",
"lifecycle_id": "",
"masked_card_number": "************4242",
"matched_authorizations": [
"6c2dc266-09ad-4235-b61a-767c7cd6d6ea"
],
"merchant": {
"category_code": "4829",
"city": "San Francisco",
"country": "USA",
"identifier": "012345678910123",
"name": "Merchant A",
"postcode": "94111",
"state": "CA"
},
"network_transaction_id": "3951729271768745",
"posted_date": "2018-03-22T16:08:02+00:00",
"retrieval_ref": "909916088001",
"risk_details": {
"risk_actions_performed": [
"TRANSACTION_BLOCKED"
],
"risk_factors": [
"Suspicious transaction velocity"
],
"three_dsecure_outcome": "AUTHENTICATED"
},
"status": "APPROVED",
"transaction_amount": 100,
"transaction_currency": "USD",
"transaction_date": "2018-03-21T16:08:02+00:00",
"transaction_id": "transactionid",
"transaction_type": "REFUND"
}
]
}
}