Product widget JWT structure
{
"iss": "<MERCHANT_ID>",
"sub": 'Merchant',
"iat": "<CURRENT_TIMESTAMP>",
"data": {
"currency": "GBP",
"merchantPrice": {
"valueBeforeTax": <ITEM_N/MERCHANT_PRICE/VALUE_BEFORE_TAX>,
"valueAfterTax": <ITEM_N/MERCHANT_PRICE/VALUE_AFTER_TAX>,
"taxValue": <ITEM_N/MERCHANT_PRICE/TAX_VALUE>,
"taxPercentage": <ITEM_N/MERCHANT_PRICE/TAX_PERCENTAGE>
},
"variant": {
"reference": "<ITEM_N/VARIANT/REFERENCE>"
}
}
}Field details
Field
Type
Description
Data type
Field
Type
Merchant price type
Field
Type
Description
Variant type
Field
Type
Description
Encode and sign payload content
Last updated
Was this helpful?