v2

latestOpenAPI 3.1.02026-08-01244220427.0 KB
Gift Card Reports

Validate Report Data

Run data-integrity checks against the programme's gift card collection.

Checks include balance consistency, status transitions, future-dated transactions, and revenue reconciliation. Returns a list of issues with severity ("error" | "warning") so the caller can surface them in the UI.

post/v2/giftcards/programs/{programId}/reports/validate

Path parameters

programIdstring required
Example:5eb7cf5a86d9755df3a6c593

Query parameters

cardIdstring
Example:5eb7cf5a86d9755df3a6c593

Headers

X-Eposn-Customer-Tokenstring nullable
X-Eposn-Merchant-Tokenstring nullable

Request body

reportTypestring
fromstring nullable
tostring nullable

Response

Successful Response

{"stackTrail":"paths:/v2/giftcards/programs/{programId}/reports/validate:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}