v1

latestOpenAPI 3.0.12026-07-2419554.1 KB
Instore

Create an offline pay-by-link order

Create an offline pay-by-link order and notify the customer using the extensions. Use the correct device Bearer token, not the merchant token.

post/v2/instore/paybylink/orders

Request body

merchantReferencestring

Merchant reference for tracking the order in your system.

typestring

Example request

{
  "extensions": {
    "industry": {
      "travel": {
        "startDate": "2024-01-01",
        "endDate": "2024-10-01"
      }
    },
    "type": {
      "link": {
        "notification": {
          "phoneCountryCode": "+39",
          "phoneNumber": "3470000000",
          "preferredLanguage": "italiano",
          "emailAddress": "test@scalapay.com",
          "channels": [
            "email",
            "sms"
          ]
        }
      }
    }
  }
}

Response

Offline pay-by-link order created successfully.