Checkout Service

The checkout service allows you to make API calls for the checkout process when purchasing e-shop items. 

Example Checkout Service Request

    
POST https://{tenant}.checkout.fly.dsb-ebusiness.net/basket
Authorization: Bearer 
Content-Type: application/json

{
   "locale": "de",
   "currencyCode": "EUR",
   "bpNumber": 1015636994,
   "customer": {
       "email": {
           "value": "test@example.com",
           "readonly": true
       }
   },
   "orderItems": [
       {
           "ident": "545_MA_TOPF_00089086_01_ZT_SHOPDSB_ZT_T1_E_DD_X",
           "qty": 1
           "preSelect": [
                {
                    "countryCode": "DE"
                }
       }
   ],
    "orderAttributes": {
        "OAKEY": "oavalue",
        "OAKEY2": "oavalue2"
    },
    "bpAttributes": {
		"KEY": "VALUE",
		"anotherKEY": "anotherVALUE"
	}
}


Response:

{
    "redirectUrl": "https://{tenant}.checkout.fly.dsb-ebusiness.net/basket//..."
}
  
004971323852500 info@dsb.net