1. Create an order

POST /orders

Provide the needed information to start an order, as described here.

Once the order has been created, it will respond with HTTP 204 and in the header a UUID header will be present, along with a ACCESS_TOKEN.

The UUID in the header can be used in the following requests of the API, authorized with the provided ACCESS_TOKEN.

Provide validated phones to skip OTP step

There is one extra param not described in the previous documentation that allows to inform of already validated mobile phones in the order creation. If later in the identification step the shopper puts one of the validated phones, the OTP step will be skipped.

{
  "order": {
    "merchant": {
      "implicit_mobile_phone_validation": {
        "validated_mobile_phones": [
          "611111111",
          "622222222",
        ]
      }
    }
  }