curl https://services-staging.getplu.com/api/v1/partner/card/transactions/acme-card-transactions-pqr345 \
-H "Authorization: Bearer sk_staging_your_api_key"
const response = await fetch(
'https://services-staging.getplu.com/api/v1/partner/card/transactions/acme-card-transactions-pqr345',
{
headers: {
'Authorization': 'Bearer sk_staging_your_api_key',
},
}
);
{
"status": "success",
"message": "Transaction retrieved",
"data": {
"serviceTransactionId": "acme-card-transactions-pqr345",
"serviceCardId": "acme-card-xyz789jkl012mno",
"amount": 42.50,
"currency": "USD",
"status": "settled",
"transactionType": "purchase",
"description": "Online purchase",
"merchantName": "Amazon",
"merchantCountry": "US",
"authorizationAmount": 42.50,
"localAmount": 42.50,
"localCurrency": "USD",
"createdAt": "2025-01-15T14:30:00.000Z"
}
}
{
"status": "error",
"message": "TRANSACTION_NOT_FOUND",
"data": {
"error": "Transaction not found"
}
}
Transactions
Get Transaction
Retrieve details of a specific card transaction
GET
/
v1
/
partner
/
card
/
transactions
/
{serviceTransactionId}
curl https://services-staging.getplu.com/api/v1/partner/card/transactions/acme-card-transactions-pqr345 \
-H "Authorization: Bearer sk_staging_your_api_key"
const response = await fetch(
'https://services-staging.getplu.com/api/v1/partner/card/transactions/acme-card-transactions-pqr345',
{
headers: {
'Authorization': 'Bearer sk_staging_your_api_key',
},
}
);
{
"status": "success",
"message": "Transaction retrieved",
"data": {
"serviceTransactionId": "acme-card-transactions-pqr345",
"serviceCardId": "acme-card-xyz789jkl012mno",
"amount": 42.50,
"currency": "USD",
"status": "settled",
"transactionType": "purchase",
"description": "Online purchase",
"merchantName": "Amazon",
"merchantCountry": "US",
"authorizationAmount": 42.50,
"localAmount": 42.50,
"localCurrency": "USD",
"createdAt": "2025-01-15T14:30:00.000Z"
}
}
{
"status": "error",
"message": "TRANSACTION_NOT_FOUND",
"data": {
"error": "Transaction not found"
}
}
Returns full details of a specific card transaction, including merchant info and local currency amounts.
string
required
Bearer token. Example:
Bearer sk_staging_your_api_keystring
required
The transaction’s service ID.
curl https://services-staging.getplu.com/api/v1/partner/card/transactions/acme-card-transactions-pqr345 \
-H "Authorization: Bearer sk_staging_your_api_key"
const response = await fetch(
'https://services-staging.getplu.com/api/v1/partner/card/transactions/acme-card-transactions-pqr345',
{
headers: {
'Authorization': 'Bearer sk_staging_your_api_key',
},
}
);
{
"status": "success",
"message": "Transaction retrieved",
"data": {
"serviceTransactionId": "acme-card-transactions-pqr345",
"serviceCardId": "acme-card-xyz789jkl012mno",
"amount": 42.50,
"currency": "USD",
"status": "settled",
"transactionType": "purchase",
"description": "Online purchase",
"merchantName": "Amazon",
"merchantCountry": "US",
"authorizationAmount": 42.50,
"localAmount": 42.50,
"localCurrency": "USD",
"createdAt": "2025-01-15T14:30:00.000Z"
}
}
{
"status": "error",
"message": "TRANSACTION_NOT_FOUND",
"data": {
"error": "Transaction not found"
}
}
Amount Fields
| Field | Description |
|---|---|
amount | Transaction amount in the card’s currency (USD) |
authorizationAmount | Original authorized amount |
localAmount | Amount in the merchant’s local currency |
localCurrency | Merchant’s local currency code |
For cross-border transactions,
localAmount and localCurrency will differ from the card’s USD amount. This is useful for showing users what they were charged in the merchant’s currency.⌘I