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

pidstringRequiredformat: "uuid"
Loyalty Program Id
cidstringRequiredformat: "uuid"
Contact Id

Request

Create Balance Payload
balanceDefinitionIdstringRequired

Unique identifier (UUID) of the balance definition associated with the new balance.

Response

Successful creation of balance
amountdouble or null
The current amount available in the balance
balanceDefinitionIdstring or null
balance definition ID
consumedAtstring or null
Timestamp of when the balance was last consumed
contactIdinteger or null
contact ID
createdAtstring or null
Timestamp of when the balance was created
expiresAtstring or null
Expiration timestamp of the balance
idstring or null
Unique identifier for the balance
loyaltyProgramIdstring or null
loyalty program ID
organizationIdinteger or null
organization ID

Errors