Delete a receipt on a card account activity
curl --request DELETE \
--url https://api.global.direct.reap.global/2026-11-16/cards/activities/{activityId}/receipts/{receiptId} \
--header 'x-api-key: <api-key>'const options = {method: 'DELETE', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.global.direct.reap.global/2026-11-16/cards/activities/{activityId}/receipts/{receiptId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.global.direct.reap.global/2026-11-16/cards/activities/{activityId}/receipts/{receiptId}"
headers = {"x-api-key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text){
"statusCode": 400,
"type": "INVALID_REQUEST_ERROR",
"message": "Bad request."
}Card account
Delete a receipt on a card account activity
Required API-key scope: card_activities:write.
Deletes a receipt from a card transaction and returns 204. The transaction’s review goes back to pending.
A download link you already got keeps working until it expires, up to 1 hour.
| Error | When |
|---|---|
RECEIPT_NOT_FOUND | The receipt isn’t on this transaction or was already deleted. A retry after a successful delete also gets this. |
ACTIVITY_NO_CHARGE | The activity isn’t a card transaction. |
ACTIVITY_CARD_TERMINATED | The card is terminated. |
FEATURE_NOT_ENABLED | Receipts aren’t enabled for your business. |
404 | The activity doesn’t exist or is voided. |
DELETE
/
2026-11-16
/
cards
/
activities
/
{activityId}
/
receipts
/
{receiptId}
Delete a receipt on a card account activity
curl --request DELETE \
--url https://api.global.direct.reap.global/2026-11-16/cards/activities/{activityId}/receipts/{receiptId} \
--header 'x-api-key: <api-key>'const options = {method: 'DELETE', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.global.direct.reap.global/2026-11-16/cards/activities/{activityId}/receipts/{receiptId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.global.direct.reap.global/2026-11-16/cards/activities/{activityId}/receipts/{receiptId}"
headers = {"x-api-key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text){
"statusCode": 400,
"type": "INVALID_REQUEST_ERROR",
"message": "Bad request."
}Path Parameters
The activity's id, as returned by List card account activities.
Required string length:
1 - 255The receipt id from List receipts on a card account activity.
Pattern:
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$