Shop

Start a PayPal checkout (public)

POST
/api/v1/shop/{slug}/orders

Start a PayPal checkout (public).

Path Parameters

slug*string
Match^[a-z0-9][a-z0-9-]{1,80}$

Request Body

application/json

client_key?|
Match^[A-Za-z0-9_-]+$
Lengthlength <= 64
items*array<>
Items1 <= items <= 5

Response Body

application/json

application/json

curl -X POST "https://example.com/api/v1/shop/string/orders" \  -H "Content-Type: application/json" \  -d '{    "items": [      {        "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",        "quantity": 1      }    ]  }'
{  "data": {},  "meta": {},  "success": true}