Create balance order
Returns created order
Authentication
api-keystring
The API key should be passed in the request headers as api-key for authentication.
Path parameters
pid
Loyalty Program Id
Request
Order Payload
amount
Order amount (must be non-zero).
balanceDefinitionId
Unique identifier (UUID) of the associated balance definition.
contactId
Unique identifier of the contact placing the order (must be ≥ 1).
dueAt
RFC3339 timestamp specifying when the order is due.
source
Specifies the origin of the order (engine or user).
expiresAt
Optional RFC3339 timestamp defining order expiration.
meta
Optional metadata associated with the order.
Response
Successful creation of order
amount
Order amount (must not be zero).
contactId
Unique identifier of the contact placing the order (must be ≥ 1).
createdAt
RFC3339 timestamp indicating when the order was created.
dueAt
RFC3339 timestamp specifying when the order is due in the future.
loyaltyProgramId
Unique identifier of the loyalty program associated with the order.
updatedAt
RFC3339 timestamp indicating the last update to the order.
balanceDefinitionId
Optional unique identifier (UUID) of the associated balance definition.
expiresAt
Optional RFC3339 timestamp defining order expiration in the future.
id
Unique identifier for the balance order.
meta
Optional metadata associated with the order.
processedAt
Optional RFC3339 timestamp indicating when the order was processed.
transactionid
Optional reference to the associated transaction ID.