Skip to main content

Wallet

Create Wallet

Creates a new wallet for a cardholder in the specified currency.

{{baseUrl}}/hashdt/issuing/api/v1/wallet

Description

This API enables the creation of a wallet under a specific cardholder’s account. A wallet is linked to a cardholder and is initialized in a chosen currency (e.g., USD, EUR).

📩 Request Headers

x-api-key string required

Shared X-API key

x-product-id string required

Shared Product ID

x-cardholder-id string required

Unique identifier of the cardholder

x-client-id string

Client identification key

x-request-id string required

Idempotency key for request tracking

Content-Type string required

Must be application/json

Authorization string

Bearer access token

📦 Request Body

currency string required

Currency code for the wallet (3-letter ISO-4217 code).

Request Example

curl --location --request POST \
--url '{{baseUrl}}/hashdt/issuing/api/v1/wallet' \
--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-request-id: {{IdempotencyKey}}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{AccessToken}}' \
--data '{
"currency": "USD"
}'

Response Example

{
"status": "success",
"message": "wallet created successfully!",
"code": 200,
"data": [
{
"id": "wallet-id",
"currency": "USD",
"amount": 0.00,
"holdingCurrency": "USD",
"holdingAmount": 0.00,
"dailyLimitAmount": 0.00,
"weeklyLimitAmount": 0.00,
"monthlyLimitAmount": 0.00,
"yearlyLimitAmount": 0.00,
"totalLimitAmount": 0.00,
"status": "ACTIVE",
"createdAt": "2025-09-24T06:45:35.803975298"
}
]
}

Get Wallet Details

Retrieves wallet details of a specific cardholder.

{{baseUrl}}/hashdt/issuing/api/v1/wallet

Description

This API fetches the wallet information associated with a cardholder using their unique x-cardholder-id. It returns details such as wallet ID, currency, balance, and status.

📩 Request Headers

x-api-key string required

Shared X-API key

x-product-id string required

Shared Product ID

x-cardholder-id string required

Unique identifier of the cardholder

x-client-id string

Client identification key

x-request-id string required

Idempotency key for request tracking

Content-Type string required

Must be application/json

Authorization string

Bearer access token

Request Example

curl --location --request GET \
--url '{{baseUrl}}/hashdt/issuing/api/v1/wallet' \
--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-request-id: {{IdempotencyKey}}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{AccessToken}}' \

Response Example

{
"status": "success",
"message": "wallet details",
"code": 200,
"data": [
{
"id": "wallet-id",
"currency": "USD",
"amount": 10.00,
"holdingCurrency": "USD",
"holdingAmount": 0.00,
"dailyLimitAmount": 0.00,
"weeklyLimitAmount": 0.00,
"monthlyLimitAmount": 0.00,
"yearlyLimitAmount": 0.00,
"totalLimitAmount": 0.00,
"status": "ACTIVE",
"createdAt": "2025-09-24T06:45:35"
}
]
}

Get Wallet History

Retrieves the transaction history of a specific wallet.

{{baseUrl}}/hashdt/issuing/api/v1/wallet/history

Description

This API provides a detailed list of transactions linked to a wallet under a cardholder. It requires both the x-cardholder-id and x-wallet-id headers to identify the wallet. The response includes transaction details such as amounts, currency, timestamps, and status.

📩 Request Headers

x-api-key string required

Shared X-API key

x-product-id string required

Shared Product ID

x-cardholder-id string required

Unique identifier of the cardholder

x-wallet-id string required

Unique identifier of the wallet

x-client-id string

Client identification key

x-request-id string required

Idempotency key for request tracking

Content-Type string required

Must be application/json

Authorization string

Bearer access token

🔍 Query Parameters

from_date string

Start date filter. Date must be in ISO 8601 format: YYYY-MM-DD or yyyy-MM-ddTHH:mm:ss.

to_date string

End date filter. Date must be in ISO 8601 format: YYYY-MM-DD or yyyy-MM-ddTHH:mm:ss.

page integer

Page number for pagination

size integer

Number of records per page

Request Example

curl --location --request GET \
--url '{{baseUrl}}/hashdt/issuing/api/v1/wallet/history' \
--header 'x-api-key: {{Shared X-API key}}' \
--header 'x-product-id: {{Shared ProductID}}' \
--header 'x-cardholder-id: {{CardholderID}}' \
--header 'x-wallet-id: {{WalletID}}' \
--header 'x-client-id: {{ClientID}}' \
--header 'x-request-id: {{IdempotencyKey}}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{AccessToken}}' \

Response Example

{
"status": "success",
"message": "Wallet Transaction History",
"code": 200,
"data": [
{
"genericSlNo": 27,
"slNo": "RHA267",
"wallet_id": "wallet-id",
"programCode": "program-code",
"txn_currency": "USD",
"txn_amount": 7.89,
"available_amount": 13.00,
"available_currency": "USD",
"acquirer_amount": "390.00",
"acquirer_currency": "INR",
"txn_type": "fee_SCTF",
"txn_direction": "DEBIT",
"txn_ref_id": "rhatestwithfees1501202605",
"txn_email": null,
"txn_description": "Card Transaction",
"txn_status": "APPROVED",
"card_acceptor_name": "FEE",
"card_id": "card-id",
"initiated_by": "SYSTEM",
"settle_amount": 0.09,
"settle_currency": "USD",
"billing_amount": 0.09,
"billing_currency": "USD",
"initiatedAt": "2026-01-15T07:20:00",
"updatedAt": "2026-01-15T07:25:34"
},
{
"genericSlNo": 40,
"slNo": "WALLET286",
"wallet_id": "wallet-id",
"programCode": "program-code",
"txn_currency": "USD",
"txn_amount": 2.50,
"available_amount": 17.50,
"available_currency": "USD",
"acquirer_amount": "2.50",
"acquirer_currency": "USD",
"txn_type": "FEE",
"txn_direction": "DEBIT",
"txn_ref_id": "62012_M2P_FEE",
"txn_email": null,
"txn_description": null,
"txn_status": "SUCCESS",
"card_acceptor_name": "N/A",
"card_id": "N/A",
"initiated_by": "Wallet Load Fee",
"settle_amount": 2.50,
"settle_currency": "USD",
"billing_amount": 2.50,
"billing_currency": "USD",
"initiatedAt": "2026-01-12T12:36:45",
"updatedAt": null
}
]
}