Created
{
  "merchantReference": "merchantOrder-1234",
  "totalAmount": 40.7,
  "status": "created",
  "orderToken": "21KLT3YDWT",
  "orderDetails": {
    "totalAmount": {
      "amount": "40.70",
      "currency": "EUR"
    },
    "consumer": {
      "phoneNumber": "0400000001",
      "givenNames": "Joe",
      "surname": "Consumer",
      "email": "[email protected]"
    },
    "billing": {
      "name": "Joe Consumer",
      "line1": "Via della Rosa, 23",
      "suburb": "Montelupo Fiorentino",
      "postcode": "50056",
      "countryCode": "IT",
      "phoneNumber": "0400000000"
    },
    "shipping": {
      "name": "Joe Consumer",
      "line1": "Via della Rosa, 23",
      "suburb": "Montelupo Fiorentino",
      "postcode": "50056",
      "countryCode": "IT",
      "phoneNumber": "0400000000"
    },
    "items": [
      {
        "name": "T-Shirt",
        "category": "clothes",
        "subcategory": [
          "shirt",
          "long-sleeve"
        ],
        "brand": "TopChoice",
        "gtin": "123458791330",
        "sku": "12341234",
        "quantity": 1,
        "price": {
          "amount": "10.00",
          "currency": "EUR"
        }
      },
      {
        "name": "Jeans",
        "category": "clothes",
        "subcategory": [
          "pants",
          "jeans"
        ],
        "brand": "TopChoice",
        "gtin": "123458722222",
        "sku": "12341235",
        "quantity": 1,
        "price": {
          "amount": "20.00",
          "currency": "EUR"
        }
      }
    ],
    "discounts": [
      {
        "displayName": "10% Off",
        "amount": {
          "amount": "3.00",
          "currency": "EUR"
        }
      }
    ],
    "merchant": {
      "redirectConfirmUrl": "https://staging.portal.scalapay.com/success-url",
      "redirectCancelUrl": "https://staging.portal.scalapay.com/failure-url"
    },
    "merchantReference": "merchantOrder-1234",
    "taxAmount": {
      "amount": "3.70",
      "currency": "EUR"
    },
    "shippingAmount": {
      "amount": "10.00",
      "currency": "EUR"
    },
    "orderExpiryMilliseconds": 6000000
  }
}
Authorized
{
  "merchantReference": "merchantOrder-1234",
  "totalAmount": 100,
  "status": "authorized",
  "orderToken": "E1KLSVMATB"
}
Charged
{
  "merchantReference": "merchantOrder-1234",
  "totalAmount": 100,
  "status": "charged",
  "orderToken": "E1KLSVMATB"
}
Expired
{
  "merchantReference": "80030",
  "totalAmount": 30,
  "status": "expired",
  "orderToken": "11KLSM367X"
}