Render a receipt
curl --request GET \
--url https://api.centsless.org/api/v1/transaction/{id}/receipt \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.centsless.org/api/v1/transaction/{id}/receipt', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.centsless.org/api/v1/transaction/{id}/receipt"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"error": "INVALID_REQUEST",
"message": "<string>",
"errors": [
"<string>"
]
}{
"error": "INVALID_REQUEST",
"message": "<string>",
"errors": [
"<string>"
]
}Receipts
Render a receipt
merchant (customer-facing with disclosure), pos (raw cents), or audit (full record; needs audit:read).
GET
/
transaction
/
{id}
/
receipt
Render a receipt
curl --request GET \
--url https://api.centsless.org/api/v1/transaction/{id}/receipt \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.centsless.org/api/v1/transaction/{id}/receipt', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.centsless.org/api/v1/transaction/{id}/receipt"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"error": "INVALID_REQUEST",
"message": "<string>",
"errors": [
"<string>"
]
}{
"error": "INVALID_REQUEST",
"message": "<string>",
"errors": [
"<string>"
]
}
