Send Level 2 and Level 3 Payment Data via Your Payment Gateways
Include level 2 and level 3 payment metadata in the payment requests that you make via
payment gateways. Level 2 data includes transaction-level details such as tax amount and invoice
reference number, while level 3 data includes detailed information such as product code, quantity,
and unit price. Billing sends this data directly to third-party payment gateways through Apex
adapter classes.
To send enhanced payment metadata via your payment gateway, in Setup, find and select
Billing Settings, and then turn on Level 2 and Level 3 Data
Support.
To verify the data sent to the payment gateway, check the payment gateway logs.
Note You can send level 2 and level 3 data only via third-party payment gateways that use Apex
adapters.
Supported Level 2 and Level 3
Fields
In payment transactions, level 1 data includes basic information such as
transaction amount, currency, card number or token, and merchant information.
Level 2 data includes level 1 data and this information.
LEVEL 2 FIELDS
DEFAULT VALUE
DiscountAmount
0
DutyAmount
0
ReferenceId
SalesTaxAmount
ShipFromZip
ShippingAmount
ShipToCountry
ShipToZip
TotalTaxAmount
0
Level 3 data includes level 2 data and these detailed line items.
LEVEL 3 FIELDS
DEFAULT VALUE
CommodityCode
Description
Discount
0
DiscountIndicator
false
GrossNetIndicator
“N”
LineItemTotal
Quantity
Sku
TaxAmount
TaxRate
Uom (unit of measure)
UnitPrice
Did this article solve your issue?
Let us know so we can improve!
Loading
Salesforce Help | Article
Cookie Consent Manager
Cookie Consent Manager
General Information
Required Cookies
Functional Cookies
Advertising Cookies
General Information
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.