Looking for ePay classic docs? Go to docs.epay.dk
ePay documentationDocsePay documentation

CreatePhysicalSaleRequest

Physical sale data used to create the terminal transaction.

CreatePhysicalSaleRequest
{  "terminal": {    "id": "0197c07b-3f6d-7be2-b848-702b08958128",    "suppressAppNotifications": false,    "switchBackTimeout": 0,    "activityToResume": null,    "surcharge": false,    "dcc": false  },  "transaction": {    "pointOfSaleId": "01924737-9c18-71c0-ab1a-88698eaceabf",    "type": "PAYMENT",    "amount": 1000,    "currency": "DKK",    "notificationUrl": "https://example.com/notification",    "reference": "store-sale-1",    "attributes": {      "orderId": "order-123",      "cashRegisterId": "register-7"    },    "customerId": "User159",    "customer": {      "firstName": "Peter",      "lastName": "Nielsen",      "birthdate": "2000-07-25",      "email": "email@example.com",      "phoneNumber": "+45 12345678",      "shippingAddress": {        "countryCode": "DK",        "postalCode": "1400",        "city": "København",        "line1": "Torvegade 45"      },      "billingAddress": {        "countryCode": "DK",        "postalCode": "1400",        "city": "København",        "line1": "Torvegade 45"      }    }  }}