novinzodevelopers
API referencePlugin contractFunctions

Admit Checkout

POST/functions/admit-checkout

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

email*string|null
ip*string|null
network*|null
device?|null
orderId?|null
signedInCustomerId*|null
lines*array<>
Items1 <= items
buyerInputs?array<>
amount*
amountInUsd?|null
connection*

Response Body

application/json

curl -X POST "https://example.com/functions/admit-checkout" \  -H "Content-Type: application/json" \  -d '{    "email": "string",    "ip": "string",    "network": {      "asn": -9007199254740991,      "asOrganization": "string",      "country": "string",      "region": "string",      "regionCode": "string",      "city": "string",      "postalCode": "string",      "latitude": "string",      "longitude": "string",      "timezone": "string",      "colo": "string",      "tlsVersion": "string",      "tlsCipher": "string",      "httpProtocol": "string",      "acceptLanguage": "string",      "userAgent": "string",      "botScore": -9007199254740991,      "ja3Hash": "string",      "ja4": "string"    },    "signedInCustomerId": "string",    "lines": [      {        "productId": "string",        "variantId": "string",        "quantity": 1,        "unitPrice": {          "amountMinorUnits": "string",          "currency": "AED"        }      }    ],    "amount": {      "amountMinorUnits": "string",      "currency": "AED"    },    "connection": {      "id": "string",      "provider": "string"    }  }'
{  "admit": true}