Schema
Cashback Balance Operation
An immutable manual credit/redemption/correction or source-order earning/void/expiration receipt. amount is the absolute total movement, including earning bonuses. Void amounts are actual recovery; invalidation and terminal shortfalls remain in the order evaluation.
Overview
{"operation_uuid":"a33e6af3-70e7-44bf-8748-6e03cf7ed280","operation_type":"top_up","customer_uuid":"a33e6af3-6946-40b2-a9a8-3294162abb3f","loyalty_program_uuid":"a33e6af3-6a27-4be2-aef8-964ac2472054","loyalty_program_type":"cashback","loyalty_balance_uuid":"a33e6af3-6ef0-4b4a-996c-ddd83528f7a0","merchant_reference":"cashback-credit-001","outlet_uuid":"a33e6af3-608d-4474-b60b-9adaac15a30a","source_order_uuid":null,"source_order_action":null,"amount":{"amount":123,"currency":"SGD"},"balance_delta":{"amount":123,"currency":"SGD"},"balance_after":{"amount":123,"currency":"SGD"},"balance_expires_at_after":"2026-12-17T03:06:16Z","ledger_entries":[{"uuid":"a33e6af3-6fb5-442f-85d4-1ab402a99fdb","type":"top_up","delta":{"amount":123,"currency":"SGD"},"description":null,"loyalty_program":{"uuid":"a33e6af3-6a27-4be2-aef8-964ac2472054","name":"Everyday cashback","type":"cashback"},"loyalty_program_type":"cashback","loyalty_balance_uuid":"a33e6af3-6ef0-4b4a-996c-ddd83528f7a0","operation_uuid":"a33e6af3-70e7-44bf-8748-6e03cf7ed280","customer_tier_achievement_uuid":null,"created_at":"2026-11-17T03:06:16Z"}],"reverses_operation_uuid":null,"reason":"Service recovery","created_at":"2026-11-17T03:06:16Z"}
Properties
operation_uuid
uuid
operation_type
References Cashback Balance Operation Type.
customer_uuid
uuid
loyalty_program_uuid
uuid
loyalty_program_type
Allowed values
cashbackloyalty_balance_uuid
uuid
merchant_reference
Your reference for this operation. It is case-sensitive and must be unique across the merchant's loyalty operations.
^[\x21-\x7E]+$
1
255
Yes
outlet_uuid
The outlet recorded for this operation. Reversals keep the original operation's outlet.
uuid
source_order_uuid
uuid
Yes
source_order_action
Yes
Allowed values
capturevoidnullamount
Absolute recorded movement in minor units. Earning, void and source-expiration totals can exceed the per-request monetary input limit.
All of
All of 1
References Money.
All of 2
Nested properties
amount
1
balance_delta
References Money.
balance_after
References Money.
balance_expires_at_after
date-time
^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}Z$
Yes
ledger_entries
1
Array items
Items
References Cashback Balance Ledger Entry.
reverses_operation_uuid
Original receipt for reversals and purchase voids; null on other kinds.
uuid
Yes
reason
Present on manual credit, credit reversal and redemption reversal; null is allowed on credit. Omitted on redemption, earning, void and expiration.
1
10000
Yes
created_at
date-time
^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}Z$
Used by
Raw YAML
title: Cashback Balance Operation
type: object
x-tags:
- Models
description: An immutable manual credit/redemption/correction or source-order earning/void/expiration receipt.
amount is the absolute total movement, including earning bonuses. Void amounts are actual recovery;
invalidation and terminal shortfalls remain in the order evaluation.
required:
- operation_uuid
- operation_type
- customer_uuid
- loyalty_program_uuid
- loyalty_program_type
- loyalty_balance_uuid
- merchant_reference
- outlet_uuid
- amount
- balance_delta
- balance_after
- balance_expires_at_after
- ledger_entries
- created_at
- source_order_uuid
- source_order_action
- reverses_operation_uuid
properties:
operation_uuid:
type: string
format: uuid
operation_type:
$ref: ./CashbackBalanceOperationType.yaml
customer_uuid:
type: string
format: uuid
loyalty_program_uuid:
type: string
format: uuid
loyalty_program_type:
type: string
enum:
- cashback
loyalty_balance_uuid:
type: string
format: uuid
merchant_reference:
type:
- string
- "null"
minLength: 1
maxLength: 255
description: Your reference for this operation. It is case-sensitive and must be unique across the merchant's
loyalty operations.
pattern: ^[\x21-\x7E]+$
outlet_uuid:
type: string
format: uuid
description: The outlet recorded for this operation. Reversals keep the original operation's outlet.
source_order_uuid:
type:
- string
- "null"
format: uuid
source_order_action:
type:
- string
- "null"
enum:
- capture
- void
- null
amount:
allOf:
- $ref: ./Money.yaml
- type: object
properties:
amount:
minimum: 1
description: Absolute recorded movement in minor units. Earning, void and source-expiration totals can exceed
the per-request monetary input limit.
balance_delta:
$ref: ./Money.yaml
balance_after:
$ref: ./Money.yaml
balance_expires_at_after:
type:
- string
- "null"
format: date-time
pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}Z$
ledger_entries:
type: array
minItems: 1
items:
$ref: ./CashbackBalanceLedgerEntry.yaml
reverses_operation_uuid:
type:
- string
- "null"
format: uuid
description: Original receipt for reversals and purchase voids; null on other kinds.
reason:
type:
- string
- "null"
minLength: 1
maxLength: 10000
description: Present on manual credit, credit reversal and redemption reversal; null is allowed on credit.
Omitted on redemption, earning, void and expiration.
created_at:
type: string
format: date-time
pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}Z$
example:
operation_uuid: a33e6af3-70e7-44bf-8748-6e03cf7ed280
operation_type: top_up
customer_uuid: a33e6af3-6946-40b2-a9a8-3294162abb3f
loyalty_program_uuid: a33e6af3-6a27-4be2-aef8-964ac2472054
loyalty_program_type: cashback
loyalty_balance_uuid: a33e6af3-6ef0-4b4a-996c-ddd83528f7a0
merchant_reference: cashback-credit-001
outlet_uuid: a33e6af3-608d-4474-b60b-9adaac15a30a
source_order_uuid: null
source_order_action: null
amount:
amount: 123
currency: SGD
balance_delta:
amount: 123
currency: SGD
balance_after:
amount: 123
currency: SGD
balance_expires_at_after: 2026-12-17T03:06:16Z
ledger_entries:
- uuid: a33e6af3-6fb5-442f-85d4-1ab402a99fdb
type: top_up
delta:
amount: 123
currency: SGD
description: null
loyalty_program:
uuid: a33e6af3-6a27-4be2-aef8-964ac2472054
name: Everyday cashback
type: cashback
loyalty_program_type: cashback
loyalty_balance_uuid: a33e6af3-6ef0-4b4a-996c-ddd83528f7a0
operation_uuid: a33e6af3-70e7-44bf-8748-6e03cf7ed280
customer_tier_achievement_uuid: null
created_at: 2026-11-17T03:06:16Z
reverses_operation_uuid: null
reason: Service recovery
created_at: 2026-11-17T03:06:16Z