curl --request GET \
--url https://sg.sandbox.api.reap.global/statements/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Reap-Version: <reap-version>'const options = {
method: 'GET',
headers: {'Reap-Version': '<reap-version>', Authorization: 'Bearer <token>'}
};
fetch('https://sg.sandbox.api.reap.global/statements/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://sg.sandbox.api.reap.global/statements/{id}"
headers = {
"Reap-Version": "<reap-version>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text){
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "CARD_TRANSACTION_FEES",
"origin": "CLIENT",
"status": "PENDING",
"period": {
"from": "2025-03-01",
"to": "2025-03-31"
},
"fields": [
"occurredAt",
"transactionId",
"billAmount"
],
"format": "CSV",
"version": "2025-02-14",
"rowCount": 1842,
"byteSize": 412034,
"dataAsOf": "2025-04-02T03:15:00Z",
"generatedAt": "2025-04-02T03:20:12Z",
"createdAt": "2025-04-02T03:20:00Z",
"updatedAt": "2025-04-02T03:20:12Z"
}{
"error": {
"code": "STATEMENT_NOT_FOUND",
"message": "<string>",
"detail": {}
}
}Get statement
Retrieves a statement by id.
curl --request GET \
--url https://sg.sandbox.api.reap.global/statements/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Reap-Version: <reap-version>'const options = {
method: 'GET',
headers: {'Reap-Version': '<reap-version>', Authorization: 'Bearer <token>'}
};
fetch('https://sg.sandbox.api.reap.global/statements/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://sg.sandbox.api.reap.global/statements/{id}"
headers = {
"Reap-Version": "<reap-version>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text){
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "CARD_TRANSACTION_FEES",
"origin": "CLIENT",
"status": "PENDING",
"period": {
"from": "2025-03-01",
"to": "2025-03-31"
},
"fields": [
"occurredAt",
"transactionId",
"billAmount"
],
"format": "CSV",
"version": "2025-02-14",
"rowCount": 1842,
"byteSize": 412034,
"dataAsOf": "2025-04-02T03:15:00Z",
"generatedAt": "2025-04-02T03:20:12Z",
"createdAt": "2025-04-02T03:20:00Z",
"updatedAt": "2025-04-02T03:20:12Z"
}{
"error": {
"code": "STATEMENT_NOT_FOUND",
"message": "<string>",
"detail": {}
}
}Authorizations
API key as Bearer token
Headers
API version (YYYY-MM-DD)
2025-02-14 "2025-02-14"
Path Parameters
Statement ID
Response
Statement resource
Unique statement identifier
What the statement itemises
CARD_TRANSACTION_FEES, CARD_NON_TRANSACTION_FEES "CARD_TRANSACTION_FEES"
Who requested the statement
CLIENT, REAP "CLIENT"
Current statement status
PENDING, GENERATED, FAILED "PENDING"
Show child attributes
Show child attributes
Columns in the file, in order. null means every column of the type.
["occurredAt", "transactionId", "billAmount"]
File format
CSV "CSV"
API version the statement was requested under. Fixes the column definitions the file follows.
"2025-02-14"
Number of data rows in the file, once generated
-9007199254740991 <= x <= 90071992547409911842
Size of the file in bytes, once generated
-9007199254740991 <= x <= 9007199254740991412034
ISO 8601 timestamp of how fresh the source data was when the file was produced, when known
"2025-04-02T03:15:00Z"
ISO 8601 timestamp of when the file became available
"2025-04-02T03:20:12Z"
ISO 8601 timestamp of creation
"2025-04-02T03:20:00Z"
ISO 8601 timestamp of last update
"2025-04-02T03:20:12Z"