Create subscription balances
Creates a balance for a contact
Authentication
api-keystring
The API key should be passed in the request headers as api-key for authentication.
Path parameters
pid
Loyalty Program Id
cid
Contact Id
Request
Create Balance Payload
balanceDefinitionId
Unique identifier (UUID) of the balance definition associated with the new balance.
Response
Successful creation of balance
amount
The current amount available in the balance
balanceDefinitionId
balance definition ID
consumedAt
Timestamp of when the balance was last consumed
contactId
contact ID
createdAt
Timestamp of when the balance was created
expiresAt
Expiration timestamp of the balance
id
Unique identifier for the balance
loyaltyProgramId
loyalty program ID
organizationId
organization ID