Skip to main content

Data integration for Pay+

Rokt Pay+ partners must integrate the following attributes via SDK, server-to-server, or equivalent methods, across the payment / bag and confirmation pages, to unlock the full scale of advertisers and campaign types. While attributes marked “If Avail.” are not required at launch, they should be prioritized for integration to maximize campaign eligibility and targeting, and ultimately revenue.

Core Attributes

IMPORTANT

If you need to change any of these attributes, please work with your account manager.

DescriptionAttribute NamePayments PageConfirmation PageFormatPayload Example
EmailemailIf Avail.RequiredStringjohn.smith@rokt.com
First NamefirstnameIf Avail.RequiredStringJohn
Last NamelastnameIf Avail.RequiredStringSmith
Billing ZipbillingzipcodeIf Avail.RequiredString10014 or 10014-1234
AmountamountRequiredRequiredDecimal300.5
See Amount
The billing country of the usercountryRequiredRequiredISO Alpha-2 Country CodeExamples
CurrencycurrencyRequiredRequiredStringUSD
See Currency
LanguagelanguageRequiredRequiredStringEN
Payment TypepaymenttypeN/ARequiredComma-separated strings (platform, card brand, payment network). Pipes (|) separate split paymentsGift card | Chase, Visa
See Payment Type
Cart ItemscartitemsRequiredRequiredAny complex data type supported (array, object, string)See Cart item data
CCBINccbinN/ARequiredFirst 6-8 digits of card BIN123456 or 12345678
Confirmation ReferenceconfirmationrefN/ARequiredStringXYZ123
See Confirmation Ref
MobilemobileIf Avail.RequiredString7325558585
AgeageIf Avail.RequiredInteger29
GendergenderIf Avail.RequiredStringm
Billing Address 1billingaddress1If Avail.RequiredAllowed special characters:
-'´`",.:;#&/()+@ °ºᵃª_ \
123 Main St
Billing Address 2billingaddress2If Avail.RequiredAllowed special characters:
-'´`",.:;#&/()+@ °ºᵃª_ \
Apt 32
The customer who created the orderclientcustomeridIf Avail.If Avail.IDabcdefgh1234567
The corresponding cart ID for the ordercartidIf Avail.If Avail.ID7654321hgfedcba
The total of the order without taxes or shipping applied.subtotalIf Avail.If Avail.Decimal200.25
The total amount of tax on the order.totaltaxIf Avail.If Avail.Decimal20.5
The total amount of shipping fees on the order.totalshippingIf Avail.If Avail.Decimal5.00
The average profit margin on a sale.marginIf Avail.If Avail.Decimal2.00
The billing user's city or suburb depending on the region.billingcityIf Avail.If Avail.StringSan Francisco
The state of the payment type.billingstateIf Avail.If Avail.StringCalifornia or CA
The first line of where the order is to be shipped.shippingaddress1If Avail.If Avail.Allowed special characters:
-'´`",.:;#&/()+@ °ºᵃª_ \
123 Main St
The second line of where the order is to be shipped.shippingaddress2If Avail.If Avail.Allowed special characters:
-'´`",.:;#&/()+@ °ºᵃª_ \
Apt 32
The city where the order is to be shipped.shippingcityIf Avail.If Avail.StringSan Francisco
The state where the order is to be shipped.shippingstateIf Avail.If Avail.StringCalifornia or CA
The zip or postal code where the order is to be shipped.shippingzipcodeIf Avail.If Avail.Zipcode10014 or 10014-1234
The country where the order is to be shipped.shippingcountryIf Avail.If Avail.ISO Alpha-2 Country CodeExamples
Description of the type of customer (e.g. guest or member)customertypeIf Avail.If Avail.Stringguest
Defines whether the customer is a member of your loyalty program.isloyaltyIf Avail.If Avail.Booleantrue
Description of the loyalty tier for customers who are members of a program.loyaltytierIf Avail.If Avail.StringGold

Cart item data

cartItems can be provided in any format, arrays, objects, or strings, and should contain the following properties for each product in the cart.

Attribute nameTypeDescription
majorCatstringThe major category of the product, also known as the first level of the product taxonomy.
majorCatIDstringThe major product category ID.
minorCat1stringThe minor category of the product, also known as the second level of the product taxonomy.
minorCatIDstringThe minor category product ID.
minorCat2stringThe third level of the product taxonomy.
minorCat3stringThe fourth level of the product taxonomy.
minorCat4stringThe fifth level of the product taxonomy.
skustringThe product Stock keeping unit or SKU.
productNamestringThe product name of the product.

Further information

Payment Type

Partners should provide all payment-related information in the paymentType field, formatted as:

  • Attribute values should be comma-separated (,) (e.g. platform, card brand, payment network).
  • Pipes (|) separate split payments (e.g. gift card + credit card).
  • Split payments will be captured as separate attributes (i.e. paymentType, paymentType2). This maintains compatibility with existing downstream systems. At launch, we will capture up to two payment methods per transaction. Clients sending more than two methods should put the two methods that accounted for the largest portion of the transaction balance first.

Amount

The value provided to the Rokt Placement through the amount attribute reflects the full price displayed to the customer on the page. On a checkout or payment page, the amount should be the subtotal.

Accepted values
Any integer, or double with at most 2 significant figures after the decimal separator.

Country and language

The value provided under country should reflect the region of your store and the value under language the content of your webpage. The Rokt placement will only show offers in the same language as the webpage where they appear, and products relevant to the customers shopping location.

CountryLanguageStore locale
United StatesEnglishen_US

Currency

When provided, this attribute formats the currency for a given locale. Providing a value ensures we display prices in the correct currency for the customer’s locale.

Confirmation reference

Providing the confirmation reference ID allows us to count distinct transactions for reporting purposes.

Was this article helpful?