Get a transaction
This endpoint returns the details of a card purchase transaction by a given ID.
Path Parameters
- transactionId string required
Primary identifier of the transaction to fetch
- 200
- 400
- 403
- application/json
- Schema
- Example (from schema)
Schema
- id string required
The transaction ID
- description string required
A description of the transaction
- accountId string required
Which account this transaction belongs to
- status string required
Possible values: [
init
,holding
,cleared
,failed
]The status of the transaction
- cardId string required
Which card this transaction belongs to
- amount string required
The billing amount of the transaction, an integer in the smallest denomination for the given currency
- currency string required
The billing currency of the transaction
- acquirerAmount string required
The acquirer amount of the transaction, an integer in the smallest denomination for the given currency
- acquirerCurrency string required
The acquirer currency of the transaction
- lockedFundCurrency string required
The locked funds' currency of the transaction
- feeAmount string required
The fee amount of the transaction
- chain string required
The chain of the locked funds on
- transactionDate date-time required
The created date formatted in ISO of the transactions
- processedDate date-time
The cleared date formatted in ISO of the transactions
- reference string required
The reference used when making an enquiry through customer support
cardAcceptor object required
city string requiredThe city of the card acceptor
countryCode string requiredThe country code of the card acceptor
name string requiredThe name of the card acceptor
- creditDebitIndicator string
Possible values: [
credit
,debit
]Indicates if the transaction was a credit or debit
web3Transactions object[] required
Array [type string requiredPossible values: [
debit
,credit
]The type of the web3 transaction:
debit
- The transaction is from the cardholders’ balance to Immersve balancecredit
- The transaction is from Immersve balance to cardholders’ balance
hash string requiredThe hash of the web3 transaction
transactionId stringThe associated credit card transaction ID
transactionType stringPossible values: [
authorization
,clearing
,reversal
]The associated credit card transaction type
]- panFirst6 string required
The first 6 digits of the card's PAN
- panLast6 string
The last 4 digits of the card's PAN
{
"id": "1000000178145",
"description": "Air NZ Online Auckland",
"accountId": "225d85e65495722bf6517ea0ba0d6f56",
"status": "init",
"cardId": "6c474aa7a5dc45bff721b5a207cf0f47",
"amount": "31412",
"currency": "USD",
"acquirerAmount": "31412",
"acquirerCurrency": "NZD",
"lockedFundCurrency": "USDC",
"feeAmount": "12",
"chain": "Polygon",
"transactionDate": "2022-11-09T03:24:15.182Z",
"processedDate": "2022-11-09T03:24:15.182Z",
"reference": "1000000178145",
"cardAcceptor": {
"city": "Auckland",
"countryCode": "NZ",
"name": "Air NZ Online"
},
"creditDebitIndicator": "credit",
"web3Transactions": [
{
"type": "debit",
"hash": "0x6f87ad90847828cb8575bd8f3c9a9cdde12a2e53e047604b6012f156495cce1e",
"transactionId": "1000000178145",
"transactionType": "authorization"
}
],
"panFirst6": "123456",
"panLast6": "1234"
}
Request fields are invalid
- application/json
- Schema
- Example (from schema)
Schema
- statusCode integer required
- statusName string required
- errorCode string required
- errors string[]
{
"statusCode": 400,
"statusName": "Bad Request",
"errorCode": "BAD_REQUEST",
"errors": [
"Expected string, received number"
]
}
No Authorization to access resource.
- application/json
- Schema
- Example (from schema)
Schema
- statusCode integer required
- statusName string required
- errorCode string required
- reason string
{
"statusCode": 403,
"statusName": "Forbidden",
"errorCode": "FORBIDDEN",
"reason": "Unauthorized"
}