Request
method:
uri: createOrder
user-agent: WooCommerce-Square/4.9.1 (WooCommerce/9.8.5; WordPress/6.8.1)
headers: Array
(
)
body:
duration: 0.38725s
Response
code: 200
message:
headers: Array
(
[0] => HTTP/2 200
[date] => Sun, 08 Jun 2025 21:25:00 GMT
[content-type] => application/json;charset=utf-8
[content-length] => 1342
[cf-ray] => 94cb7596bd402d0d-LHR
[cf-cache-status] => DYNAMIC
[content-encoding] => gzip
[strict-transport-security] => max-age=631152000; includeSubDomains; preload
[vary] => Accept-Encoding
[frame-options] => DENY
[square-version] => 2024-03-20
[x-content-type-options] => nosniff
[x-envoy-decorator-operation] => /v2/orders/**
[x-frame-options] => DENY
[x-sq-dc] => aws
[x-sq-istio-migration-ingress-proxy] => sq-envoy
[x-sq-istio-migration-ingress-region] => us-east-1
[x-sq-region] => us-east-1
[x-xss-protection] => 1; mode=block
[set-cookie] => __cf_bm=gxXvDXMu61wk.1wyKvBMru0kOXNTMHACfM1CGyFtn2c-1749417900-1.0.1.1-VPhHrzIp0jqTrmB22qcf2B6hjtZCqsOzCWRnppMR68xxaKNvTKAbJMMIU7._923KCRDEpulmTILYbcEZHGBY933JS8AuR_80KIGl702YIHs; path=/; expires=Sun, 08-Jun-25 21:55:00 GMT; domain=.connect.squareup.com; HttpOnly; Secure; SameSite=None
[server] => cloudflare
)
body: {
"order": {
"id": "nalZaALRNnFUzrIzOM6BN51GmTGZY",
"location_id": "ABFJAXN8DWCZA",
"reference_id": "40283",
"source": {
"name": "WooCommerce"
},
"customer_id": "TQDDESSV1P553P4V0RRQ4QV830",
"line_items": [
{
"uid": "DPRr3mZXjkQ48Ynp2MkoLD",
"name": "WASZP Annual Bolts Spares Kit",
"quantity": "1",
"item_type": "ITEM",
"applied_taxes": [
{
"uid": "7L5Pdqe6XJEB6A3WYnpxeD",
"tax_uid": "6845ffac6e03e",
"applied_money": {
"amount": 300,
"currency": "GBP"
}
}
],
"base_price_money": {
"amount": 1800,
"currency": "GBP"
},
"variation_total_price_money": {
"amount": 1800,
"currency": "GBP"
},
"gross_sales_money": {
"amount": 1800,
"currency": "GBP"
},
"total_tax_money": {
"amount": 300,
"currency": "GBP"
},
"total_discount_money": {
"amount": 0,
"currency": "GBP"
},
"total_money": {
"amount": 1800,
"currency": "GBP"
},
"total_service_charge_money": {
"amount": 0,
"currency": "GBP"
}
},
{
"uid": "h1I1fEhHv9WvuKVCYaOD3D",
"name": "Ronstan Retaining Snail Clip",
"quantity": "2",
"catalog_object_id": "GABGCPHMA6ITVYNSBMNWWC2J",
"catalog_version": 1749307604663,
"variation_name": "",
"item_type": "ITEM",
"applied_taxes": [
{
"uid": "2LMYDHMg7EhxXnXpZ1eHC",
"tax_uid": "6845ffac6e03e",
"applied_money": {
"amount": 117,
"currency": "GBP"
}
}
],
"base_price_money": {
"amount": 350,
"currency": "GBP"
},
"variation_total_price_money": {
"amount": 700,
"currency": "GBP"
},
"gross_sales_money": {
"amount": 700,
"currency": "GBP"
},
"total_tax_money": {
"amount": 117,
"currency": "GBP"
},
"total_discount_money": {
"amount": 0,
"currency": "GBP"
},
"total_money": {
"amount": 700,
"currency": "GBP"
},
"total_service_charge_money": {
"amount": 0,
"currency": "GBP"
}
},
{
"uid": "cqX4DTn1vd1TScaNyoA4CD",
"name": "WASZP M3x6mm Grub Screw",
"quantity": "4",
"item_type": "ITEM",
"applied_taxes": [
{
"uid": "gpsWjqgZCuunQuSUd35haC",
"tax_uid": "6845ffac6e03e",
"applied_money": {
"amount": 73,
"currency": "GBP"
}
}
],
"base_price_money": {
"amount": 110,
"currency": "GBP"
},
"variation_total_price_money": {
"amount": 440,
"currency": "GBP"
},
"gross_sales_money": {
"amount": 440,
"currency": "GBP"
},
"total_tax_money": {
"amount": 73,
"currency": "GBP"
},
"total_discount_money": {
"amount": 0,
"currency": "GBP"
},
"total_money": {
"amount": 440,
"currency": "GBP"
},
"total_service_charge_money": {
"amount": 0,
"currency": "GBP"
}
},
{
"uid": "gCoEreuAjtVaCYZoCQ1biC",
"name": "WASZP Push rod - hull - rear end",
"quantity": "1",
"item_type": "ITEM",
"applied_taxes": [
{
"uid": "LU5YuHavVdHFKEMBjzSXa",
"tax_uid": "6845ffac6e03e",
"applied_money": {
"amount": 325,
"currency": "GBP"
}
}
],
"base_price_money": {
"amount": 1950,
"currency": "GBP"
},
"variation_total_price_money": {
"amount": 1950,
"currency": "GBP"
},
"gross_sales_money": {
"amount": 1950,
"currency": "GBP"
},
"total_tax_money": {
"amount": 325,
"currency": "GBP"
},
"total_discount_money": {
"amount": 0,
"currency": "GBP"
},
"total_money": {
"amount": 1950,
"currency": "GBP"
},
"total_service_charge_money": {
"amount": 0,
"currency": "GBP"
}
},
{
"uid": "zpcJslArROeAD6XspMnfuB",
"name": "WASZP RHA - Front Connector V3",
"quantity": "1",
"item_type": "ITEM",
"applied_taxes": [
{
"uid": "byWuQL7a8ebfrjhhWZ2xz",
"tax_uid": "6845ffac6e03e",
"applied_money": {
"amount": 433,
"currency": "GBP"
}
}
],
"base_price_money": {
"amount": 2600,
"currency": "GBP"
},
"variation_total_price_money": {
"amount": 2600,
"currency": "GBP"
},
"gross_sales_money": {
"amount": 2600,
"currency": "GBP"
},
"total_tax_money": {
"amount": 433,
"currency": "GBP"
},
"total_discount_money": {
"amount": 0,
"currency": "GBP"
},
"total_money": {
"amount": 2600,
"currency": "GBP"
},
"total_service_charge_money": {
"amount": 0,
"currency": "GBP"
}
},
{
"uid": "SjLzi7NuO5aIsVNyzuZVPC",
"name": "WASZP Sliding gudgeon",
"quantity": "1",
"item_type": "ITEM",
"applied_taxes": [
{
"uid": "dwsjWe7rBcmhErrdJ5D0vC",
"tax_uid": "6845ffac6e03e",
"applied_money": {
"amount": 308,
"currency": "GBP"
}
}
],
"base_price_money": {
"amount": 1850,
"currency": "GBP"
},
"variation_total_price_money": {
"amount": 1850,
"currency": "GBP"
},
"gross_sales_money": {
"amount": 1850,
"currency": "GBP"
},
"total_tax_money": {
"amount": 308,
"currency": "GBP"
},
"total_discount_money": {
"amount": 0,
"currency": "GBP"
},
"total_money": {
"amount": 1850,
"currency": "GBP"
},
"total_service_charge_money": {
"amount": 0,
"currency": "GBP"
}
},
{
"uid": "VoJJkcreLXdaPfYbGd4H3B",
"name": "WASZP Wand Control Slider Casing",
"quantity": "1",
"item_type": "ITEM",
"applied_taxes": [
{
"uid": "tDf59zIXeYfZAKjr4nYnaD",
"tax_uid": "6845ffac6e03e",
"applied_money": {
"amount": 127,
"currency": "GBP"
}
}
],
"base_price_money": {
"amount": 760,
"currency": "GBP"
},
"variation_total_price_money": {
"amount": 760,
"currency": "GBP"
},
"gross_sales_money": {
"amount": 760,
"currency": "GBP"
},
"total_tax_money": {
"amount": 127,
"currency": "GBP"
},
"total_discount_money": {
"amount": 0,
"currency": "GBP"
},
"total_money": {
"amount": 760,
"currency": "GBP"
},
"total_service_charge_money": {
"amount": 0,
"currency": "GBP"
}
},
{
"uid": "bGzza0d1np5Zjpm0aGW0I",
"name": "GBR Letter Set 300mm (Black)",
"quantity": "1",
"catalog_object_id": "PHKHGP2PNK7E6WU6MJ466EGS",
"catalog_version": 1749307604663,
"variation_name": "GBR",
"item_type": "ITEM",
"applied_taxes": [
{
"uid": "vK6jh68IXKDaKWQzuEeu2C",
"tax_uid": "6845ffac6e03e",
"applied_money": {
"amount": 225,
"currency": "GBP"
}
}
],
"base_price_money": {
"amount": 1350,
"currency": "GBP"
},
"variation_total_price_money": {
"amount": 1350,
"currency": "GBP"
},
"gross_sales_money": {
"amount": 1350,
"currency": "GBP"
},
"total_tax_money": {
"amount": 225,
"currency": "GBP"
},
"total_discount_money": {
"amount": 0,
"currency": "GBP"
},
"total_money": {
"amount": 1350,
"currency": "GBP"
},
"total_service_charge_money": {
"amount": 0,
"currency": "GBP"
}
},
{
"uid": "FfIgun8HMe0qKoiHfhB8V",
"name": "Free Shipping",
"quantity": "1",
"item_type": "ITEM",
"base_price_money": {
"amount": 0,
"currency": "GBP"
},
"variation_total_price_money": {
"amount": 0,
"currency": "GBP"
},
"gross_sales_money": {
"amount": 0,
"currency": "GBP"
},
"total_tax_money": {
"amount": 0,
"currency": "GBP"
},
"total_discount_money": {
"amount": 0,
"currency": "GBP"
},
"total_money": {
"amount": 0,
"currency": "GBP"
},
"total_service_charge_money": {
"amount": 0,
"currency": "GBP"
}
}
],
"taxes": [
{
"uid": "6845ffac6e03e",
"name": "GB-20% UK VAT-1",
"type": "INCLUSIVE",
"percentage": "20.00",
"applied_money": {
"amount": 1908,
"currency": "GBP"
},
"scope": "LINE_ITEM"
}
],
"net_amounts": {
"total_money": {
"amount": 11450,
"currency": "GBP"
},
"tax_money": {
"amount": 1908,
"currency": "GBP"
},
"discount_money": {
"amount": 0,
"currency": "GBP"
},
"tip_money": {
"amount": 0,
"currency": "GBP"
},
"service_charge_money": {
"amount": 0,
"currency": "GBP"
}
},
"created_at": "2025-06-08T21:25:00.706Z",
"updated_at": "2025-06-08T21:25:00.706Z",
"state": "OPEN",
"version": 1,
"total_money": {
"amount": 11450,
"currency": "GBP"
},
"total_tax_money": {
"amount": 1908,
"currency": "GBP"
},
"total_discount_money": {
"amount": 0,
"currency": "GBP"
},
"total_tip_money": {
"amount": 0,
"currency": "GBP"
},
"total_service_charge_money": {
"amount": 0,
"currency": "GBP"
},
"net_amount_due_money": {
"amount": 11450,
"currency": "GBP"
}
}
}
Request
method:
uri: createPayment
user-agent: WooCommerce-Square/4.9.1 (WooCommerce/9.8.5; WordPress/6.8.1)
headers: Array
(
)
body:
duration: 1.29408s
Response
code: 200
message:
headers: Array
(
[0] => HTTP/2 200
[date] => Sun, 08 Jun 2025 21:25:02 GMT
[content-type] => application/json
[content-length] => 1023
[cf-ray] => 94cb7598d9162d0d-LHR
[cf-cache-status] => DYNAMIC
[content-encoding] => gzip
[strict-transport-security] => max-age=631152000; includeSubDomains; preload
[vary] => Accept-Encoding
[frame-options] => DENY
[square-version] => 2024-03-20
[squareup--connect--v2--common--versionmetadata-bin] => CgoyMDI0LTAzLTIw
[x-content-type-options] => nosniff
[x-envoy-decorator-operation] => /v2/payments/**
[x-frame-options] => DENY
[x-sq-dc] => Array
(
[0] => aws
[1] => aws
)
[x-sq-istio-migration-egress-proxy] => sq-envoy
[x-sq-istio-migration-egress-region] => us-east-1
[x-sq-istio-migration-ingress-proxy] => sq-envoy
[x-sq-istio-migration-ingress-region] => Array
(
[0] => us-east-1
[1] => us-east-1
)
[x-sq-region] => Array
(
[0] => us-east-1
[1] => us-east-1
)
[x-xss-protection] => 1; mode=block
[set-cookie] => __cf_bm=QKi4Cpac3FIrUEpc8z250TT22PJ4tPTE_mArL4sjQbw-1749417902-1.0.1.1-nmh6Wwz1Do7vnJJQRJqFDOOHd_Vt8Lzl0TR3folcTdcvW.W8H02.MyaIgqHhHXXG34qxHpa0YDGL7lK3TC3DR0CKWhULZ.cWN2AyQ33Jh5k; path=/; expires=Sun, 08-Jun-25 21:55:02 GMT; domain=.connect.squareup.com; HttpOnly; Secure; SameSite=None
[server] => cloudflare
)
body: {
"payment": {
"id": "r39iY7eazzdutx1ccDGG9xejxrQZY",
"created_at": "2025-06-08T21:25:01.284Z",
"updated_at": "2025-06-08T21:25:02.050Z",
"amount_money": {
"amount": 11450,
"currency": "GBP"
},
"total_money": {
"amount": 11450,
"currency": "GBP"
},
"approved_money": {
"amount": 11450,
"currency": "GBP"
},
"status": "COMPLETED",
"delay_duration": "PT168H",
"delay_action": "CANCEL",
"delayed_until": "2025-06-15T21:25:01.284Z",
"source_type": "CARD",
"card_details": {
"status": "CAPTURED",
"card": {
"card_brand": "VISA",
"last_4": "9017",
"exp_month": 6,
"exp_year": 2026,
"fingerprint": "sq-1-9e9kA_19kFZVlVFmoSSO1mxtW9P1SLYe_YgGvRVL_-BTwOcpXmTWUaCdcNfQ2F7klw",
"card_type": "CREDIT",
"prepaid_type": "NOT_PREPAID",
"bin": "492910"
},
"entry_method": "KEYED",
"cvv_status": "CVV_ACCEPTED",
"avs_status": "AVS_ACCEPTED",
"auth_result_code": "025015",
"statement_description": "SQ *SAILINGFAST LIMITED",
"card_payment_timeline": {
"authorized_at": "2025-06-08T21:25:01.627Z",
"captured_at": "2025-06-08T21:25:02.050Z"
}
},
"location_id": "ABFJAXN8DWCZA",
"order_id": "nalZaALRNnFUzrIzOM6BN51GmTGZY",
"reference_id": "40283",
"customer_id": "TQDDESSV1P553P4V0RRQ4QV830",
"risk_evaluation": {
"created_at": "2025-06-08T21:25:01.878Z",
"risk_level": "NORMAL"
},
"buyer_email_address": "
[email protected]",
"billing_address": {
"address_line_1": "168 Manor Green Road",
"address_line_2": "Manor Green",
"locality": "Epsom",
"administrative_district_level_1": "England",
"postal_code": "KT19 8LL",
"country": "GB",
"first_name": "Samson",
"last_name": "Cross"
},
"shipping_address": {
"address_line_1": "168 Manor Green Road",
"address_line_2": "Manor Green",
"locality": "Epsom",
"administrative_district_level_1": "England",
"postal_code": "KT19 8LL",
"country": "GB",
"first_name": "Samson",
"last_name": "Cross"
},
"note": "Sailingfast - Order 40283",
"receipt_number": "r39i",
"receipt_url": "https:\/\/squareup.com\/receipt\/preview\/r39iY7eazzdutx1ccDGG9xejxrQZY",
"application_details": {
"square_product": "ECOMMERCE_API",
"application_id": "sq0idp-wGVapF8sNt9PLrdj5znuKA"
},
"version_token": "qAEyKaATN7ateN2E2HCLh8aL4U5GkR44YrgKlfH8eBi6o"
}
}