Data integration for Rokt 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 AttributesDirect link to Core Attributes
If you need to change any of these attributes, please work with your account manager.
| Description | Attribute Name | Payments Page | Confirmation Page | Format | Payload Example |
|---|---|---|---|---|---|
| If Avail. | Required | String | john.smith@rokt.com | ||
| First Name | firstname | If Avail. | Required | String | John |
| Last Name | lastname | If Avail. | Required | String | Smith |
| Billing Zip | billingzipcode | If Avail. | Required | String | 10014 or 10014-1234 |
| Amount | amount | Required | Required | Decimal | 300.5 See Amount |
| The billing country of the user | country | Required | Required | ISO Alpha-2 Country Code | Examples |
| Currency | currency | Required | Required | String | USD See Currency |
| Language | language | Required | Required | String | EN |
| Payment Service Provider | paymentserviceprovider | If Avail. | N/A | Comma-separated string (accepted payment method 1, accepted payment method 2, etc.) | cardpayment,klarna,paypal |
| Payment Type | paymenttype | N/A | Required | Payment method, then card network, then issuer if known, comma-separated. Pipes (|) separate split payments; Rokt reads the first method as the order's payment method | Card Payment, Visa | Gift Card See Payment Type |
| Cart Items | cartitems | Required | Required | Any complex data type supported (array, object, string) | See Cart item data |
| CCBIN | ccbin | N/A | Required | First 6-8 digits of card BIN. Omit when no card was used; never send it blank | 123456 or 12345678 |
| Confirmation Reference | confirmationref | N/A | Required | String | XYZ123 See Confirmation Ref |
| Mobile | mobile | If Avail. | Required | String | 7325558585 |
| Age | age | If Avail. | Required | Integer | 29 |
| Gender | gender | If Avail. | Required | String | m |
| Billing Address 1 | billingaddress1 | If Avail. | Required | Allowed special characters: -'´`",.:;#&/()+@ °ºᵃª_ \ | 123 Main St |
| Billing Address 2 | billingaddress2 | If Avail. | Required | Allowed special characters: -'´`",.:;#&/()+@ °ºᵃª_ \ | Apt 32 |
| The customer who created the order | clientcustomerid | If Avail. | If Avail. | ID | abcdefgh1234567 |
| The corresponding cart ID for the order | cartid | If Avail. | If Avail. | ID | 7654321hgfedcba |
| The total of the order without taxes or shipping applied. | subtotal | If Avail. | If Avail. | Decimal | 200.25 |
| The total amount of tax on the order. | totaltax | If Avail. | If Avail. | Decimal | 20.5 |
| The total amount of shipping fees on the order. | totalshipping | If Avail. | If Avail. | Decimal | 5.00 |
| The average profit margin on a sale. | margin | If Avail. | If Avail. | Decimal | 2.00 |
| The billing user's city or suburb depending on the region. | billingcity | If Avail. | If Avail. | String | San Francisco |
| The state of the payment type. | billingstate | If Avail. | If Avail. | String | California or CA |
| The first line of where the order is to be shipped. | shippingaddress1 | If Avail. | If Avail. | Allowed special characters: -'´`",.:;#&/()+@ °ºᵃª_ \ | 123 Main St |
| The second line of where the order is to be shipped. | shippingaddress2 | If Avail. | If Avail. | Allowed special characters: -'´`",.:;#&/()+@ °ºᵃª_ \ | Apt 32 |
| The city where the order is to be shipped. | shippingcity | If Avail. | If Avail. | String | San Francisco |
| The state where the order is to be shipped. | shippingstate | If Avail. | If Avail. | String | California or CA |
| The zip or postal code where the order is to be shipped. | shippingzipcode | If Avail. | If Avail. | Zipcode | 10014 or 10014-1234 |
| The country where the order is to be shipped. | shippingcountry | If Avail. | If Avail. | ISO Alpha-2 Country Code | Examples |
| Description of the type of customer (e.g. guest or member) | customertype | If Avail. | If Avail. | String | guest |
| Defines whether the customer is a member of your loyalty program. | isloyalty | If Avail. | If Avail. | Boolean | true |
| Description of the loyalty tier for customers who are members of a program. | loyaltytier | If Avail. | If Avail. | String | Gold |
Cart item dataDirect link to 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 name | Type | Description |
|---|---|---|
| majorCat | string | The major category of the product, also known as the first level of the product taxonomy. |
| majorCatID | string | The major product category ID. |
| minorCat1 | string | The minor category of the product, also known as the second level of the product taxonomy. |
| minorCatID | string | The minor category product ID. |
| minorCat2 | string | The third level of the product taxonomy. |
| minorCat3 | string | The fourth level of the product taxonomy. |
| minorCat4 | string | The fifth level of the product taxonomy. |
| sku | string | The product Stock keeping unit or SKU. |
| productName | string | The product name of the product. |
Further informationDirect link to Further information
Payment Service ProviderDirect link to Payment Service Provider
Partners should provide all eligible payment service providers in the paymentserviceprovider attribute. This attribute captures the payment methods available to the customer on the payments page, not the method the customer uses. Rokt uses it to filter payment campaigns in real time, so that only creatives whose payment service provider matches one of the values in this list are eligible.
- Attribute values should be a comma-separated (
,) string. - List order is not significant (alphabetical ordering is optional).
- Send values in lowercase with no spaces.
paymentserviceprovider is not a required attribute. If it is not provided, all creatives remain eligible (default behavior).
The current accepted values are:
affirmaffirmautofillafterpayalipayamazonpayapplepaycardpaymentgooglepayklarnapaypalrakutenpayvenmo
Sample attribute value: affirm,applepay,paypal
Payment TypeDirect link to Payment Type
The paymenttype attribute captures the payment method the customer paid with at checkout. Because the method is only known after the customer completes payment, this attribute is only expected to be integrated on the confirmation page. It is distinct from Payment Service Provider, which captures the payment methods available to the customer on the payments page.
Partners should provide all payment-related information in the paymenttype attribute, formatted as:
- Lead with the payment method, then the card network, then the issuer if known, separated by commas (
,), and use the same format on every order (e.g.Card Payment, Visa, ChaseorApple Pay, Visa). - Pipes (
|) separate split payments. Rokt reads the first method as the order's payment method, so lead with the method that paid the largest portion of the balance (e.g.Card Payment | Gift Card). - Rokt captures split payments as separate attributes (i.e.
paymenttype,paymenttype2). This maintains compatibility with existing downstream systems. Rokt captures up to two payment methods per transaction. Partners sending more than two methods should list the two methods that accounted for the largest portion of the transaction balance first.
AmountDirect link to 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 languageDirect link to 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.
| Country | Language | Store locale |
|---|---|---|
| United States | English | en_US |
CurrencyDirect link to 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 referenceDirect link to Confirmation reference
Providing the confirmation reference ID allows us to count distinct transactions for reporting purposes.