curl --request POST \
--url https://api.tabby.ai/api/v2/checkout \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"payment": {
"amount": "100",
"currency": "AED",
"buyer": {
"name": "John Doe",
"email": "[email protected]",
"phone": "500000001",
"dob": "2000-01-20"
},
"shipping_address": {
"city": "Dubai",
"address": "Dubai",
"zip": "1111"
},
"order": {
"reference_id": "1001",
"items": [
{
"title": "Name of the product",
"quantity": 1,
"unit_price": "0.00",
"category": "Clothes",
"reference_id": "SKU123",
"description": "Description of the product",
"discount_amount": "0.00",
"image_url": "https://example.com/",
"product_url": "https://example.com/",
"gender": "Kids",
"color": "white",
"product_material": "cotton",
"size_type": "EU",
"size": "M",
"brand": "Name of the Brand",
"is_refundable": true,
"barcode": "12345678",
"ppn": "MNXT2ZM/A",
"seller": "Name of the Seller"
}
],
"updated_at": "2023-11-07T05:31:56Z",
"tax_amount": "0.00",
"shipping_amount": "0.00",
"discount_amount": "0.00"
},
"buyer_history": {
"registered_since": "2023-11-07T05:31:56Z",
"loyalty_level": 0,
"wishlist_count": 0,
"is_social_networks_connected": true,
"is_phone_number_verified": true,
"is_email_verified": true
},
"order_history": [
{
"purchased_at": "2023-11-07T05:31:56Z",
"amount": "100",
"status": "new",
"buyer": {
"name": "John Doe",
"email": "[email protected]",
"phone": "500000001",
"dob": "2000-01-20"
},
"shipping_address": {
"city": "Dubai",
"address": "Dubai",
"zip": "1111"
},
"payment_method": "card",
"items": [
{
"reference_id": "SKU123",
"title": "Name of the product",
"description": "Description of the product",
"quantity": 1,
"unit_price": "0.00",
"discount_amount": "0.00",
"image_url": "https://example.com/",
"product_url": "https://example.com/",
"gender": "Kids",
"category": "Clothes",
"color": "white",
"product_material": "cotton",
"size_type": "EU",
"size": "M",
"brand": "Name of the Brand",
"is_refundable": true,
"barcode": "12345678",
"ppn": "MNXT2ZM/A",
"seller": "Name of the Seller"
}
]
}
],
"description": "test payload",
"meta": {
"customer": "#customer-id",
"order_id": "#1234"
},
"attachment": {
"body": "{\"flight_reservation_details\": {\"pnr\": \"TR9088999\",\"itinerary\": [...],\"insurance\": [...],\"passengers\": [...],\"affiliate_name\": \"some affiliate\"}}",
"content_type": "application/vnd.tabby.v1+json"
}
},
"lang": "en",
"merchant_code": "code provided to you from Tabby side",
"merchant_urls": {
"success": "https://your-store/success",
"cancel": "https://your-store/cancel",
"failure": "https://your-store/failure"
},
"token": null
}
'{
"id": "session id, uuid format",
"configuration": {
"available_products": {
"installments": [
{
"web_url": "https://checkout.tabby.ai/",
"qr_code": "https://api.tabby.ai/api/v2/checkout/{id}/hpp_link_qr"
}
]
},
"products": {
"installments": {
"type": "installments",
"is_available": true,
"rejection_reason": null
}
}
},
"token": null,
"payment": {
"amount": "100",
"currency": "AED",
"order": {
"reference_id": "1001",
"items": [
{
"title": "Name of the product",
"quantity": 1,
"unit_price": "0.00",
"category": "Clothes",
"reference_id": "SKU123",
"description": "Description of the product",
"image_url": "https://example.com/",
"product_url": "https://example.com/",
"gender": "Kids",
"color": "white",
"product_material": "cotton",
"size_type": "EU",
"size": "M",
"brand": "Name of the Brand",
"is_refundable": true
}
],
"updated_at": "2023-11-07T05:31:56Z",
"tax_amount": "0.00",
"shipping_amount": "0.00",
"discount_amount": "0.00"
},
"id": "payment id, uuid format",
"created_at": "2023-11-07T05:31:56Z",
"status": "CREATED",
"is_test": true,
"description": "test payload",
"meta": {
"customer": "#customer-id",
"order_id": "#1234"
},
"attachment": {
"body": "{\"flight_reservation_details\": {\"pnr\": \"TR9088999\",\"itinerary\": [...],\"insurance\": [...],\"passengers\": [...],\"affiliate_name\": \"some affiliate\"}}",
"content_type": "application/vnd.tabby.v1+json"
}
},
"status": "created",
"merchant_urls": {
"success": "https://your-store/success",
"cancel": "https://your-store/cancel",
"failure": "https://your-store/failure"
}
}Creates a Checkout session. Creates Session and Payment, returns Pre-Scoring result (status), ids of Payment and Session.
curl --request POST \
--url https://api.tabby.ai/api/v2/checkout \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"payment": {
"amount": "100",
"currency": "AED",
"buyer": {
"name": "John Doe",
"email": "[email protected]",
"phone": "500000001",
"dob": "2000-01-20"
},
"shipping_address": {
"city": "Dubai",
"address": "Dubai",
"zip": "1111"
},
"order": {
"reference_id": "1001",
"items": [
{
"title": "Name of the product",
"quantity": 1,
"unit_price": "0.00",
"category": "Clothes",
"reference_id": "SKU123",
"description": "Description of the product",
"discount_amount": "0.00",
"image_url": "https://example.com/",
"product_url": "https://example.com/",
"gender": "Kids",
"color": "white",
"product_material": "cotton",
"size_type": "EU",
"size": "M",
"brand": "Name of the Brand",
"is_refundable": true,
"barcode": "12345678",
"ppn": "MNXT2ZM/A",
"seller": "Name of the Seller"
}
],
"updated_at": "2023-11-07T05:31:56Z",
"tax_amount": "0.00",
"shipping_amount": "0.00",
"discount_amount": "0.00"
},
"buyer_history": {
"registered_since": "2023-11-07T05:31:56Z",
"loyalty_level": 0,
"wishlist_count": 0,
"is_social_networks_connected": true,
"is_phone_number_verified": true,
"is_email_verified": true
},
"order_history": [
{
"purchased_at": "2023-11-07T05:31:56Z",
"amount": "100",
"status": "new",
"buyer": {
"name": "John Doe",
"email": "[email protected]",
"phone": "500000001",
"dob": "2000-01-20"
},
"shipping_address": {
"city": "Dubai",
"address": "Dubai",
"zip": "1111"
},
"payment_method": "card",
"items": [
{
"reference_id": "SKU123",
"title": "Name of the product",
"description": "Description of the product",
"quantity": 1,
"unit_price": "0.00",
"discount_amount": "0.00",
"image_url": "https://example.com/",
"product_url": "https://example.com/",
"gender": "Kids",
"category": "Clothes",
"color": "white",
"product_material": "cotton",
"size_type": "EU",
"size": "M",
"brand": "Name of the Brand",
"is_refundable": true,
"barcode": "12345678",
"ppn": "MNXT2ZM/A",
"seller": "Name of the Seller"
}
]
}
],
"description": "test payload",
"meta": {
"customer": "#customer-id",
"order_id": "#1234"
},
"attachment": {
"body": "{\"flight_reservation_details\": {\"pnr\": \"TR9088999\",\"itinerary\": [...],\"insurance\": [...],\"passengers\": [...],\"affiliate_name\": \"some affiliate\"}}",
"content_type": "application/vnd.tabby.v1+json"
}
},
"lang": "en",
"merchant_code": "code provided to you from Tabby side",
"merchant_urls": {
"success": "https://your-store/success",
"cancel": "https://your-store/cancel",
"failure": "https://your-store/failure"
},
"token": null
}
'{
"id": "session id, uuid format",
"configuration": {
"available_products": {
"installments": [
{
"web_url": "https://checkout.tabby.ai/",
"qr_code": "https://api.tabby.ai/api/v2/checkout/{id}/hpp_link_qr"
}
]
},
"products": {
"installments": {
"type": "installments",
"is_available": true,
"rejection_reason": null
}
}
},
"token": null,
"payment": {
"amount": "100",
"currency": "AED",
"order": {
"reference_id": "1001",
"items": [
{
"title": "Name of the product",
"quantity": 1,
"unit_price": "0.00",
"category": "Clothes",
"reference_id": "SKU123",
"description": "Description of the product",
"image_url": "https://example.com/",
"product_url": "https://example.com/",
"gender": "Kids",
"color": "white",
"product_material": "cotton",
"size_type": "EU",
"size": "M",
"brand": "Name of the Brand",
"is_refundable": true
}
],
"updated_at": "2023-11-07T05:31:56Z",
"tax_amount": "0.00",
"shipping_amount": "0.00",
"discount_amount": "0.00"
},
"id": "payment id, uuid format",
"created_at": "2023-11-07T05:31:56Z",
"status": "CREATED",
"is_test": true,
"description": "test payload",
"meta": {
"customer": "#customer-id",
"order_id": "#1234"
},
"attachment": {
"body": "{\"flight_reservation_details\": {\"pnr\": \"TR9088999\",\"itinerary\": [...],\"insurance\": [...],\"passengers\": [...],\"affiliate_name\": \"some affiliate\"}}",
"content_type": "application/vnd.tabby.v1+json"
}
},
"status": "created",
"merchant_urls": {
"success": "https://your-store/success",
"cancel": "https://your-store/cancel",
"failure": "https://your-store/failure"
}
}Bearer authentication header of the form Bearer <secret_key>, where <secret_key> is your secret_key.
Payment object associated with the current session.
Show child attributes
Total payment amount, including tax, shipping and any discounts. Allows to send up to 2 decimals for AED and SAR, up to 3 decimals for KWD.
"100"
ISO 4217 currency code for the payment amount. Currently there are 3 possible currency options - depending on the country where the store is located:
AED - United Arab Emirates DirhamSAR - Saudi RiyalKWD - Kuwaiti DinarAED, SAR, KWD "AED"
Customer information
Show child attributes
Customer’s full name.
"John Doe"
Customer’s email address.
Customer’s phone number. This must be a valid mobile phone where the consumer can receive text messages. The accepted phone masks are - 500000001, 0500000001, +971500000001, 971500000001.
"500000001"
Customer's date of birth; format is YYYY-MM-DD.
"2000-01-20"
Show child attributes
Merchant-assigned order number.
"1001"
Array of objects representing the order items in this payment.
Show child attributes
Name of the product.
"Name of the product"
Quantity of the product ordered.
x >= 11
Price per unit of the product. Should be positive or zero.
"0.00"
Required as name of high-level category (Clothes, Electronics,etc.); or a tree of category-subcategory1-subcategory2; or id of the category and table with category-ids data mapped provided.
"Clothes"
Merchant’s product identifier. Displayed in Customer's App and Merchant Dashboard, used for Item refunds and disputes.
"SKU123"
Description of the product.
"Description of the product"
Amount of the applied discount if any. Should be positive or zero.
"0.00"
URL of the item image to show in the order information.
"https://example.com/"
URL of the item at your store.
"https://example.com/"
Who the goods are designed to.
Male, Female, Kids, Other "Kids"
white / blue/ green
"white"
cotton / polyester / synthetic
"cotton"
EU / UK
"EU"
L / XL / 12
"M"
Mango / Dorothy Perkins / Tommy Hilfiger
"Name of the Brand"
Indicates whether a product can be returned
A machine-readable product identifier. Typically used for logistics and scanning.
"12345678"
Product Part Number assigned by the manufacturer. Used to identify specific components or versions of a product.
"MNXT2ZM/A"
The name of the seller offering this item. This field is used to distinguish products from different vendors on a single marketplace.
"Name of the Seller"
Date and time the order was last updated, in UTC, and displayed in ISO 8601 datetime format.
Total tax for the order.
Total shipping cost for the order.
Total discount for the order. Should be positive or zero. Shows up on Tabby App for the Customer's convenience.
Customer information. registered_since (as a date of the customer's registration in the App), loyalty_level (as a number of successful orders) and wishlist_count (paid amount by a customer previously, e.g. 500) must be sent for Monthly Billing. is_social_networks_connected is also required for Monthly Billing.
Show child attributes
Date and time the customer got registred with you, in UTC, and displayed in ISO 8601 datetime format.
Customer's loyalty level within your store, should be sent as a number of successfully placed orders in the store with any payment methods.
Number of items in Customer's wishlist.
x >= 0Is social network connected
Is phone number verified
Is email verified
Array of objects, should contain information on 5-10 previously placed via any payment method orders in any status, current order excluded.
Show child attributes
Date and time the order was placed, in UTC, and displayed in ISO 8601 datetime format.
Total payment amount, including tax, shipping, and excluding any discounts. Allows to send up to 2 decimals for AED and SAR, up to 3 decimals for KWD.
"100"
Status of the order.
new, processing, complete, refunded, canceled, unknown Customer information
Show child attributes
Customer’s full name.
"John Doe"
Customer’s email address.
Customer’s phone number. This must be a valid mobile phone where the consumer can receive text messages. The accepted phone masks are - 500000001, 0500000001, +971500000001, 971500000001.
"500000001"
Customer's date of birth; format is YYYY-MM-DD.
"2000-01-20"
Show child attributes
Name of city, municipality, or village.
"Dubai"
Building name, apartment number.
"Dubai"
Postal code.
"1111"
Payment method used.
card, cod "card"
Array of objects representing the order items in this payment. If you want to offer consumers a discount, use this object to create a “discount order item”, with the unit_price set to the negative value of the discount.
Show child attributes
Merchant’s product identifier. Displayed in Customer's App and Merchant Dashboard, used for Item refunds and disputes.
"SKU123"
Name of the product.
"Name of the product"
Description of the product.
"Description of the product"
Quantity of the product ordered.
x >= 11
Price per unit of the product. Should be positive or zero.
"0.00"
Amount of the applied discount if any. Should be positive or zero.
"0.00"
URL of the item image to show in the order information.
"https://example.com/"
URL of the item at your store.
"https://example.com/"
Who the goods are designed to.
Male, Female, Kids, Other "Kids"
Required as name of high-level category (Clothes, Electronics,etc.); or a tree of category-subcategory1-subcategory2; or id of the category and table with category-ids data mapped provided.
"Clothes"
white / blue/ green
"white"
cotton / polyester / synthetic
"cotton"
EU / UK
"EU"
L / XL / 12
"M"
Mango / Dorothy Perkins / Tommy Hilfiger
"Name of the Brand"
Indicates whether a product can be returned
A machine-readable product identifier. Typically used for logistics and scanning.
"12345678"
Product Part Number assigned by the manufacturer. Used to identify specific components or versions of a product.
"MNXT2ZM/A"
The name of the seller offering this item. This field is used to distinguish products from different vendors on a single marketplace.
"Name of the Seller"
"test payload"
Extra data (booking info, insurance, flight reservations, ...) as serialized JSON
Show child attributes
Should be an object containing any of the keys with corresponded sub objects
Show child attributes
Show child attributes
Itinerary data, one per segment
Show child attributes
"departure_city"
"departure_country"
"arrival_city"
"arrival_country"
"carrier"
RFC3339 e.g. 2018-10-17T07:26:33Z
"class"
true - if ticket can be cancelled/refunded
Insurance data
Show child attributes
"insurance_company"
"insurance_type"
"insurance_price"
Passengers data
Show child attributes
"full_name"
"first_name"
"last_name"
ISO 8601 date of birth, e.g. 2018-10-17
"2018-10-17T00:00:00.000Z"
"document_type"
"document_id"
ISO 8601 date e.g. 2018-10-17
"nationality"
F - female, M - male, O - other
F, M, O "F"
Trip booking number, e.g. TR9088999
"Trip booking number, e.g. TR9088999"
Name of the affiliate that originated the purchase. If none, leave blank.
"Name of the affiliate that originated the purchase. If none, leave blank."
Show child attributes
Hotel itinerary data, one per segment
Show child attributes
"hotel_name"
"address"
"hotel_city"
"hotel_country"
ISO 8601 date e.g. 2018-10-17
ISO 8601 date e.g. 2018-10-17
1
"class"
Insurance data
Show child attributes
"insurance_company"
"insurance_type"
"insurance_price"
Passengers data
Show child attributes
"full_name"
"first_name"
"last_name"
ISO 8601 date of birth, e.g. 2018-10-17
"2018-10-17T00:00:00.000Z"
"document_type"
"document_id"
ISO 8601 date e.g. 2018-10-17
"nationality"
F - female, M - male, O - other
F, M, O "M"
Trip booking number, e.g. TR9088999
"TR9088999"
Name of the affiliate that originated the purchase. If none, leave blank.
"Name of the affiliate that originated the purchase. If none, leave blank."
Show child attributes
Information about insurance
Show child attributes
Insurance policy type
"Insurance policy type"
ISO 8601 start date, e.g. 2018-10-17
"2018-10-17T00:00:00.000Z"
ISO 8601 end date, e.g. 2018-10-17
"2018-10-17T00:00:00.000Z"
Amount of insurance policy
"100"
Required for car insurance
Show child attributes
"manufacturer"
"model"
"year"
Required for travel insurance
If insurance can be cancelled/refunded - true, otherwise - false
"provider_name"
Show child attributes
"first_name"
"last_name"
"document_type"
"full_name"
ISO 8601 date of birth, e.g. 2018-10-17
"2018-10-17T00:00:00.000Z"
"document_id"
ISO 8601 date e.g. 2018-10-17
"nationality"
F - female, M - male, O - other
"F"
Show child attributes
ISO 8601 date e.g. 2018-10-17
ISO 8601 date e.g. 2018-10-17
Unique name / number to identify the specific customer account
"unique name / id of the customer"
Whether the customer has paid before or not
Show child attributes
Unique name / number to identify the specific customer account
"unique name / id of the customer"
One of - card / direct banking / COD (cash) / other
card, direct banking, cod, other "card"
1
1
ISO 8601 date e.g. 2018-10-17
ISO 8601 date e.g. 2018-10-17
1
1
1
Show child attributes
Unique name / number to identify the specific customer account
"unique name / id of the customer"
Whether the customer has paid before or not
ISO 8601 date e.g. 2018-10-17
ISO 8601 date e.g. 2018-10-17
Show child attributes
Destination city and airport
Sellers' details within marketplaces.
Show child attributes
Unique ID of the seller within your marketplace.
"57327813"
Name of the seller within your marketplace.
"Pet Shop"
Category of the seller within your marketplace.
"Electronics"
Website of the seller within your marketplace.
"https://www.petshop.com"
Seller's phone number.
"500000001"
Seller's registration date, in UTC, and displayed in ISO 8601 datetime format.
Seller's commercial registration number.
"1012345678"
"{\"flight_reservation_details\": {\"pnr\": \"TR9088999\",\"itinerary\": [...],\"insurance\": [...],\"passengers\": [...],\"affiliate_name\": \"some affiliate\"}}"
Version of used schema
Session language, used to launch HPP with desired language.
ar, en "en"
Please contact your integration manager to get the merchant code.
"code provided to you from Tabby side"
Used for redirecting the customer after Tabby Checkout flow. Required for Web integration, optional for Mobile App integration.
Show child attributes
URL to redirect the customer to merchant's 'Thank you' page after success payment. Payment status = AUTHORIZED or CLOSED.
"https://your-store/success"
URL to redirect the customer back to merchant's Checkout page after payment cancellation by customer. Payment status = EXPIRED.
"https://your-store/cancel"
URL to redirect the customer back to merchant's Checkout page after payment rejection by Tabby. Payment status = REJECTED.
"https://your-store/failure"
If you already have token, you can pass it there. Authorization header still requires Secret Key.
Success. Checkout session object is returned.
Unique identifier for the checkout Session, assigned by Tabby.
"session id, uuid format"
Some details associated with the current session.
Show child attributes
Show child attributes
Links to redirect customers to Tabby Checkout.
Products and theirs availability
Show child attributes
Show child attributes
Type of product.
installments "installments"
true
The reason why this product is not available to use Possible values:
order_amount_too_high - 'This purchase is above your current spending limit with Tabby, try a smaller cart or use another payment method.'order_amount_too_low - 'The purchase amount is below the minimum amount required to use Tabby, try adding more items or use another payment method.'not_available - 'Sorry, Tabby is unable to approve this purchase, please use an alternative payment method for your order.'null - if is_available is true and customer is able to use it.order_amount_too_high, order_amount_too_low, not_available, null null
In the response, this field will be filled with token value if session status is 'approved'.
You can use that token for Tokenized Payments and Web Checkout.
null
Payment object associated with the current session.
Show child attributes
Total payment amount, including tax, shipping and any discounts. Allows to send up to 2 decimals for AED and SAR, up to 3 decimals for KWD.
"100"
ISO 4217 currency code for the payment amount. Currently there are 3 possible currency options - depending on the country where the store is located:
AED - United Arab Emirates DirhamSAR - Saudi RiyalKWD - Kuwaiti DinarAED, SAR, KWD "AED"
Show child attributes
Merchant-assigned order number.
"1001"
Array of objects representing the order items in this payment.
Show child attributes
Name of the product.
"Name of the product"
Quantity of the product ordered.
x >= 01
Price per unit of the product. Should be positive or zero.
"0.00"
Required as name of high-level category (Clothes, Electronics,etc.); or a tree of category-subcategory1-subcategory2; or id of the category and table with category-ids data mapped provided.
"Clothes"
Merchant’s product identifier. Displayed in Customer's App and Merchant Dashboard, used for Item refunds and disputes.
"SKU123"
Description of the product.
"Description of the product"
URL of the item image to show in the order information.
"https://example.com/"
URL of the item at your store.
"https://example.com/"
Who the goods are designed to.
Male, Female, Kids, Other "Kids"
white / blue/ green
"white"
cotton / polyester / synthetic
"cotton"
EU / UK
"EU"
L / XL / 12
"M"
Mango / Dorothy Perkins / Tommy Hilfiger
"Name of the Brand"
Indicates whether a product can be returned
Date and time the order was last updated, in UTC, and displayed in ISO 8601 datetime format.
Total tax for the order.
"0.00"
Total shipping cost for the order.
"0.00"
Total discount for the order. Should be positive or zero. Shows up on Tabby App for the Customer's convenience.
"0.00"
Unique identifier for the payment (UUID), assigned by Tabby. Save it on your side!
"payment id, uuid format"
Date and time the payment was created, in UTC, and displayed in ISO 8601 datetime format.
Status of the current payment:
CREATED means that the payment is created successfully, but not finished yet;AUTHORIZED and CLOSED mark the successfully approved and captured payments accordingly;REJECTED is returned when a customer is rejected during Tabby Checkout;EXPIRED is used when a customer cancels a payment or when Tabby doesn't receive a successfully paid transaction after timeout.CREATED, AUTHORIZED, CLOSED, REJECTED, EXPIRED "CREATED"
Indicates whether this is a test payment (created using the Test API keys or Production API Keys).
"test payload"
Extra data (booking info, insurance, flight reservations, ...) as serialized JSON
Show child attributes
Should be an object containing any of the keys with corresponded sub objects
Show child attributes
Show child attributes
Itinerary data, one per segment
Show child attributes
"departure_city"
"departure_country"
"arrival_city"
"arrival_country"
"carrier"
RFC3339 e.g. 2018-10-17T07:26:33Z
"class"
true - if ticket can be cancelled/refunded
Insurance data
Show child attributes
"insurance_company"
"insurance_type"
"insurance_price"
Passengers data
Show child attributes
"full_name"
"first_name"
"last_name"
ISO 8601 date of birth, e.g. 2018-10-17
"2018-10-17T00:00:00.000Z"
"document_type"
"document_id"
ISO 8601 date e.g. 2018-10-17
"nationality"
F - female, M - male, O - other
F, M, O "F"
Trip booking number, e.g. TR9088999
"Trip booking number, e.g. TR9088999"
Name of the affiliate that originated the purchase. If none, leave blank.
"Name of the affiliate that originated the purchase. If none, leave blank."
Show child attributes
Hotel itinerary data, one per segment
Show child attributes
"hotel_name"
"address"
"hotel_city"
"hotel_country"
ISO 8601 date e.g. 2018-10-17
ISO 8601 date e.g. 2018-10-17
1
"class"
Insurance data
Show child attributes
"insurance_company"
"insurance_type"
"insurance_price"
Passengers data
Show child attributes
"full_name"
"first_name"
"last_name"
ISO 8601 date of birth, e.g. 2018-10-17
"2018-10-17T00:00:00.000Z"
"document_type"
"document_id"
ISO 8601 date e.g. 2018-10-17
"nationality"
F - female, M - male, O - other
F, M, O "M"
Trip booking number, e.g. TR9088999
"TR9088999"
Name of the affiliate that originated the purchase. If none, leave blank.
"Name of the affiliate that originated the purchase. If none, leave blank."
Show child attributes
Information about insurance
Show child attributes
Insurance policy type
"Insurance policy type"
ISO 8601 start date, e.g. 2018-10-17
"2018-10-17T00:00:00.000Z"
ISO 8601 end date, e.g. 2018-10-17
"2018-10-17T00:00:00.000Z"
Amount of insurance policy
"100"
Required for car insurance
Show child attributes
"manufacturer"
"model"
"year"
Required for travel insurance
If insurance can be cancelled/refunded - true, otherwise - false
"provider_name"
Show child attributes
"first_name"
"last_name"
"document_type"
"full_name"
ISO 8601 date of birth, e.g. 2018-10-17
"2018-10-17T00:00:00.000Z"
"document_id"
ISO 8601 date e.g. 2018-10-17
"nationality"
F - female, M - male, O - other
"F"
Show child attributes
ISO 8601 date e.g. 2018-10-17
ISO 8601 date e.g. 2018-10-17
Unique name / number to identify the specific customer account
"unique name / id of the customer"
Whether the customer has paid before or not
Show child attributes
Unique name / number to identify the specific customer account
"unique name / id of the customer"
One of - card / direct banking / COD (cash) / other
card, direct banking, cod, other "card"
1
1
ISO 8601 date e.g. 2018-10-17
ISO 8601 date e.g. 2018-10-17
1
1
1
Show child attributes
Unique name / number to identify the specific customer account
"unique name / id of the customer"
Whether the customer has paid before or not
ISO 8601 date e.g. 2018-10-17
ISO 8601 date e.g. 2018-10-17
Show child attributes
Destination city and airport
Sellers' details within marketplaces.
Show child attributes
Unique ID of the seller within your marketplace.
"57327813"
Name of the seller within your marketplace.
"Pet Shop"
Category of the seller within your marketplace.
"Electronics"
Website of the seller within your marketplace.
"https://www.petshop.com"
Seller's phone number.
"500000001"
Seller's registration date, in UTC, and displayed in ISO 8601 datetime format.
Seller's commercial registration number.
"1012345678"
"{\"flight_reservation_details\": {\"pnr\": \"TR9088999\",\"itinerary\": [...],\"insurance\": [...],\"passengers\": [...],\"affiliate_name\": \"some affiliate\"}}"
Version of used schema
Status of the current session. Used at the pre-scoring and session creation steps.
created is returned when the request is approved and the customer is eligible to use Tabbyrejected means that there are no available products for a customerexpired and approved - used for specific type of integration, kindly ignore them if not communicated directlycreated, rejected, expired, approved "created"
Show child attributes
URL where to redirect after payment is Authorized. 'Thank you' page recommended.
"https://your-store/success"
URL where to proceed after cancel payment status. Checkout page recommended.
"https://your-store/cancel"
URL where to proceed after failure payment status (Rejected). Checkout page recommended.
"https://your-store/failure"
Was this page helpful?