REST API
RabbitMQ Connector
Kafka Connector

⬆️ POST /v1/integration/cart

RabbitMQ Message Properties
key
value
type
CART
Kafka Message Headers
key
value
type
CART
This request is sent when a cart event occurs. It can receive multiple embedded payment events and multiple cart items.
Example Payload
Data Types
Required properties are marked with *
KeyDescriptionValue
amount*
100.0
Total amount of the combined cart items during checkout
bonus_code
"WelcomeBonus"
The bonus code of any promotion used for the cart checkout
cart_id*
1
The unique identifier of the transaction
discount_amount
10.00
The discounted amount, if the cart was checked out using a discount
status*
"Successful"
The status of the cart checkout
timestamp*
"2015-03-02T8:27:58.721607+06:00"
The timestamp of the cart checkout, in RFC3339 format
type*
"Checkout"
Currently only type "Checkout" supported
user_id*
"123"
The unique identifier of the user
currency*
"EUR"
The currency used in the transcation
device_type*
"mobile", "desktop", "app", "unkown"
The device used in the transaction
exchange_rate*
1.00
The exchange rate to convert the amount to base currency
origin*
"origin"
The
origin
of the transaction
payments*
See table below
items*
See table below
meta
A placeholder for any custom data
Payments object
KeyDescriptionValue
type*
"Wallet", "VirtualCurrency", "Deposit"
The payment type used in the checkout
amount*
15.0
The amount used for the specific payment type
meta
A placeholder for any custom data
Items object
id*
1
The unique identifier of the cart item
type*
"Lottery ticket",
The category of the cart item
name*
"Freespins"
The text friendly name of the cart item
description
"Freespins"
The text friendly description of the cart item
amount*
5.0
The price of the item
discount_amount
2.0
The discount amount, if the item was purchased with a dicsount
bonus_code
"Xmas2020"
The bonus code used if the cart was checked out with a promotion
meta
A placeholder for any custom data