curl --request GET \
--url https://api.redbark.com/v2/transactions/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Redbark-Version: <api-key>'const options = {
method: 'GET',
headers: {Authorization: 'Bearer <token>', 'Redbark-Version': '<api-key>'}
};
fetch('https://api.redbark.com/v2/transactions/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.redbark.com/v2/transactions/{id}"
headers = {
"Authorization": "Bearer <token>",
"Redbark-Version": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text){
"id": "txn_fk_8f1c2a3b-...",
"object": "transaction",
"account": "<string>",
"status": "<string>",
"date": "<string>",
"datetime": "<string>",
"post_date": "<string>",
"post_datetime": "<string>",
"value_date": "<string>",
"value_datetime": "<string>",
"description": "<string>",
"reference": "<string>",
"extended_description": "<string>",
"payer": "<string>",
"payee": "<string>",
"amount": {
"amount": 123,
"currency": "<string>"
},
"direction": "<string>",
"provider_category": "<string>",
"category": "<string>",
"merchant_name": "<string>",
"merchant_category_code": "<string>",
"livemode": true
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}Retrieve a transaction
Looks the transaction up by provider id within the given account and date window (defaults to the last 30 days). Requires account. Includes pending transactions and provider-supplied reference, extended_description, payer and payee, each null when unavailable. The amount is integer minor units in the currency of the transaction (amount.currency), which can differ from the account currency; no FX conversion is applied. Searches at most 5,000 provider rows within a bounded page budget. If the search cannot confirm absence within that budget, returns 400 transaction_search_incomplete: narrow the from/to date range and retry. Returns 404 only when the valid window is exhausted without a match, or the transaction/account scope is invalid; when the window was searched, the 404 message names it. An id taken from a wider search can fall outside the default 30 days: pass from and to covering the transaction date.
curl --request GET \
--url https://api.redbark.com/v2/transactions/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Redbark-Version: <api-key>'const options = {
method: 'GET',
headers: {Authorization: 'Bearer <token>', 'Redbark-Version': '<api-key>'}
};
fetch('https://api.redbark.com/v2/transactions/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.redbark.com/v2/transactions/{id}"
headers = {
"Authorization": "Bearer <token>",
"Redbark-Version": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text){
"id": "txn_fk_8f1c2a3b-...",
"object": "transaction",
"account": "<string>",
"status": "<string>",
"date": "<string>",
"datetime": "<string>",
"post_date": "<string>",
"post_datetime": "<string>",
"value_date": "<string>",
"value_datetime": "<string>",
"description": "<string>",
"reference": "<string>",
"extended_description": "<string>",
"payer": "<string>",
"payee": "<string>",
"amount": {
"amount": 123,
"currency": "<string>"
},
"direction": "<string>",
"provider_category": "<string>",
"category": "<string>",
"merchant_name": "<string>",
"merchant_category_code": "<string>",
"livemode": true
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}Authorizations
Query Parameters
Response
The transaction

