Square\Http\ApiResponse Object
(
[request:Square\Http\ApiResponse:private] => Square\Http\HttpRequest Object
(
[httpMethod:Square\Http\HttpRequest:private] => Post
[headers:Square\Http\HttpRequest:private] => Array
(
[user-agent] => Square-PHP-SDK/6.5.0.20201028
[Accept] => application/json
[content-type] => application/json
[Square-Version] => 2020-10-28
[Authorization] => Bearer EAAAEDeKhpzfS-I4TvK47pODYXx2Cv_AC8VCqvvM4KElgQPQyhpnaMWjelRt1q4v
)
[queryUrl:Square\Http\HttpRequest:private] => https://connect.squareupsandbox.com/v2/payments
[parameters:Square\Http\HttpRequest:private] =>
)
[statusCode:Square\Http\ApiResponse:private] => 400
[reasonPhrase:Square\Http\ApiResponse:private] =>
[headers:Square\Http\ApiResponse:private] => Array
(
[0] => HTTP/2 400
[date] => Wed, 11 Dec 2024 04:10:03 GMT
[content-type] => application/json
[content-length] => 138
[cf-ray] => 8f029f658adda817-SYD
[cf-cache-status] => DYNAMIC
[strict-transport-security] => max-age=631152000; includeSubDomains; preload
[frame-options] => DENY
[square-version] => 2020-10-28
[squareup--connect--v2--common--versionmetadata-bin] => CgoyMDIwLTEwLTI4
[x-content-type-options] => nosniff
[x-envoy-decorator-operation] => /v2/payments/**
[x-frame-options] => DENY
[x-sq-dc] => aws
[x-sq-region] => us-west-2
[x-xss-protection] => 1; mode=block
[set-cookie] => __cf_bm=7BakZ7.RLSFLIT9CwPE5Bz8sQZxKt3cLspPe0xgtJrc-1733890203-1.0.1.1-cD.hbrLNTrRFZr3ewuRTqtFXQXY7R8KBZOdzJirU4ZUR4HEQbysGaVV4QD_5LtESa0MzN2zVAIvwEnXOeIyF2Q; path=/; expires=Wed, 11-Dec-24 04:40:03 GMT; domain=.squareupsandbox.com; HttpOnly; Secure; SameSite=None
[vary] => Accept-Encoding
[server] => cloudflare
)
[result:Square\Http\ApiResponse:private] =>
[body:Square\Http\ApiResponse:private] => {"errors": [{"code": "BAD_REQUEST","detail": "Order 4W4rnibAYvPxWWXBDIsUKN3LcuSZY already exists.","category": "INVALID_REQUEST_ERROR"}]}
[errors:Square\Http\ApiResponse:private] => Array
(
[0] => Square\Models\Error Object
(
[category:Square\Models\Error:private] => INVALID_REQUEST_ERROR
[code:Square\Models\Error:private] => BAD_REQUEST
[detail:Square\Models\Error:private] => Order 4W4rnibAYvPxWWXBDIsUKN3LcuSZY already exists.
[field:Square\Models\Error:private] =>
)
)
[cursor:Square\Http\ApiResponse:private] =>
)