You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{"errors": [{
"category": "INVALID_REQUEST_ERROR",
"code":"VALUE_TOO_LOW",
"detail":"order.total_money.amount must be greater than 1.",
"field":"order.total_money.amount"
}]}
This occurs every time I try the base example CURL request from the API explorer for checkout api. I'm running the following request:
{"errors": [{
"category": "INVALID_REQUEST_ERROR",
"code":"VALUE_TOO_LOW",
"detail":"
order.total_money.amount
must be greater than 1.","field":"order.total_money.amount"
}]}
This occurs every time I try the base example CURL request from the API explorer for checkout api. I'm running the following request:
curl https://connect.squareupsandbox.com/v2/locations/LXXN2DAV5SQKY/checkouts
-H 'Authorization: Bearer EAAAEFpHnWhYlFNso_ogOvxCIjm_jNUUeCngffKLbLBk8DKeVy2sf9jtgZ8hh4zw'
-H 'Content-Type: application/json'
-d '{
"idempotency_key": "f0e3dc80-5f6d-4105-81e4-eefaebd7b81d",
"order": {
"idempotency_key": "c7030981-0607-4865-a69c-996f5e3ebe9d",
"order": {
"location_id": "LXXN2DAV5SQKY",
"line_items": [
{
"quantity": "2",
"name": "Marketing Analytics",
"base_price_money": {
"amount": 900,
"currency": "USD"
}
}
]
}
}
}'
The text was updated successfully, but these errors were encountered: