Transactions
Get transaction
Get a specific transaction by its ID. You can use the List transactions endpoint to search for a transaction and get its ID.
get/v2/transactions/{transactionId}
Request
- Base URLhttps://sandbox.pismolabs.io/transactions-core
- URLhttps://sandbox.pismolabs.io/transactions-core/v2/transactions/{transactionId}
- AuthHTTP bearer
Path parameters
transactionIdinteger required
Transaction ID
Query parameters
includeMetadataboolean
Return transaction metadata flag.
Response
OK
Example response
{
"id": 1111,
"program_id": 2222,
"account_id": 1234,
"statement_id": 2345,
"installment": 2,
"number_of_installments": 20,
"processing_code": "00",
"processing_description": "Purchase",
"customer_id": 8675309,
"user_category": "SERVICES",
"transaction_group": "EXPENSES",
"entry_mode": "POS",
"amount": [
{
"currency": "USD"
}
],
"tax": [
{
"currency": "BRL"
}
],
"event_date": "2022-08-24T19:15:24.000Z",
"event_datetime": "2022-08-24T19:15:24.000Z",
"payment_date": "2022-08-24T20:13:24.000Z",
"payment_datetime": "2022-08-24T20:13:24.000Z",
"created_at": "2022-08-24T19:05:24.000Z",
"transaction_type": {
"id": 203,
"description": "Credit voucher",
"credit": true,
"posted_transaction": true,
"balance_impact_id": 4,
"category": "PAYMENTS/CREDITS"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.