Events

Payment Info Entered

User added payment information.

Suggested source: server, website front-end

Properties

Name

Type

Description

Required

checkout_id

string

Checkout transaction ID

no

order_id

string

Order ID

no

payment_method

string

String representing the payment method chosen

no

shipping_method

string

String representing the shipping the method chosen

no

step

number

Number representing a step in the checkout process

yes

products

object[]

Products in the order

yes

coupon

string

Transaction coupon redeemed with the transaction

no

currency

string

Currency code of the transaction (for example, "USD") Pattern: ^[A-Z]{3}$

no

value

number

Revenue ($) with discounts and coupons added in

no

Example

JSON


products[] array

Products in the order

The product

Item Properties

Name

Type

Description

Required

affiliation

string

Product affiliation to designate a supplying company or brick and mortar store location (for example, "Google Store")



brand

string

Brand associated with the product



bundle

boolean

Product belongs to a bundle



category

string

Product category



coupon

string

Coupon code associated with a product (for example, "MAY_DEALS_3")



description

string

Short description of the product



image_url

string

Image URL of the product



name

string

Name of the product



option_values

string[]

Option values of the product variant



position

integer

Position in the product list (for example, 3)



price

number

Price ($) of the product



product_id

string

Database ID of the product



quantity

integer

Quantity of the product



sku

string

SKU of the product variant



slug

string

Slug of the product, often used in URLs (for example, "product-red")



url

string

URL of the product page



variant

string

Name of the product variant



line_item_id

string

Database ID of the line item



Example

JSON


products[].option_values[] array

Option values of the product variant

Option value (for example, "red")

Item Type: stringExample

JSON