Skip to main content

Wallet

Create Wallet​

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

POST {{baseUrl}}/issuing/api/:version/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 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-request-idstringYesIdempotency key for request tracking
Content-TypestringYesMust be application/json

Request Body Parameters

ParameterTypeRequiredDescription
currencystringYesCurrency code for the wallet (e.g., "USD")

Request Example

curl --location --request POST \
--url '{{baseUrl}}/issuing/api/:version/wallet' \
--header 'x-api-key: {{Shared X-API key}}' \
--header 'x-product-id: {{Shared ProductID}}' \
--header 'x-cardholder-id: {{CardholderID}}' \
--header 'x-request-id: {{IdempotencyKey}}' \
--header 'Content-Type: application/json' \
--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.

GET {{baseUrl}}/issuing/api/:version/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 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-request-idstringYesIdempotency key for request tracking
Content-TypestringYesMust be application/json

Request Example

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

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.

GET {{baseUrl}}/issuing/api/:version/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 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-wallet-idstringYesUnique identifier of the wallet
x-request-idstringYesIdempotency key for request tracking
Content-TypestringYesMust be application/json

Request Query Parameters

ParameterTypeRequiredDescription
from_datestringNoStart date for filtering transactions (YYYY-MM-DD)
to_datestringNoEnd date for filtering transactions (YYYY-MM-DD)
pageintegerNoPage number for pagination
sizeintegerNoNumber of records per page

Request Example

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

Response Example

{
"status": "success",
"message": "wallet history",
"code": 200,
"data": [
{
"id": "WALLET39",
"wallet_id": "wallet-id",
"txn_currency": "USD",
"txn_amount": 1.00,
"available_amount": 24.10,
"available_currency": "USD",
"settle_amount": 1.00,
"settle_currency": "USD",
"billing_amount": 1.00,
"billing_currency": "USD",
"txn_type": "M2P",
"txn_ref_id": "PFTMCS000010489BE6EC7E54F4E",
"txn_status": "SUCCESS",
"card_acceptor_name": null,
"initiated_by": "Prefund Transfer API",
"initiatedAt": "2025-09-26T09:48:41"
},
{
"id": "WALLET36",
"wallet_id": "wallet-id",
"txn_currency": "USD",
"txn_amount": 1.00,
"available_amount": 23.10,
"available_currency": "USD",
"settle_amount": 1.00,
"settle_currency": "USD",
"billing_amount": 1.00,
"billing_currency": "USD",
"txn_type": "M2P",
"txn_ref_id": "PFTMCS000013A52E46BC90145C2",
"txn_status": "SUCCESS",
"card_acceptor_name": null,
"initiated_by": "Prefund Transfer API",
"initiatedAt": "2025-09-26T06:29:14"
}
]
}