addedOutput schema / properties / cashback_claims
Added value: +{
+ "description": "The user's haggl.ai cashback claims, newest first, when they have any. For a ready or paid claim, haggl_get_cashback returns its payout_url.",
+ "items": {
+ "description": "A cashback claim.",
+ "properties": {
+ "cashback": {
+ "description": "What haggl.ai pays back.",
+ "properties": {
+ "amount": {
+ "description": "Amount and currency.",
+ "type": "string"
+ },
+ "rate_pct": {
+ "description": "Share of the order total, in percent.",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "claim_id": {
+ "description": "Claim id for haggl_get_cashback.",
+ "type": "string"
+ },
+ "payout_available_at": {
+ "description": "ISO 8601 time the payout opens, while pending.",
+ "type": "string"
+ },
+ "status": {
+ "description": "pending (held until payout_available_at), ready (the payout can be issued) or paid.",
+ "type": "string"
+ },
+ "store": {
+ "description": "The store the order was at.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+}