Shop

Request
method:
uri: createCustomer
user-agent: WooCommerce-Square/3.3.0 (WooCommerce/7.1.0; WordPress/6.0.3)
headers: Array
(
)
body:
duration: 0.38553s
Response
code: 200
message:
headers: Array
(
[0] => HTTP/2 200
[date] => Tue, 06 Dec 2022 14:15:37 GMT
[content-type] => application/json
[content-length] => 353
[frame-options] => DENY
[x-frame-options] => DENY
[x-content-type-options] => nosniff
[x-xss-protection] => 1; mode=block
[square-version] => 2021-10-20
[squareup--connect--v2--common--versionmetadata-bin] => CgoyMDIxLTEwLTIw
[vary] => Accept-Encoding, User-Agent
[content-encoding] => gzip
[x-sq-dc] => sjc3b
[x-sq-region] => sjc3b
[strict-transport-security] => max-age=631152000; includeSubDomains; preload
)
body: {
"customer": {
"id": "5ERNYA80H7P0WQRRPVZ5P1QR94",
"created_at": "2022-12-06T14:15:37.154Z",
"updated_at": "2022-12-06T14:15:37Z",
"given_name": "Marcela",
"family_name": "Ganoza",
"email_address": "jrizopatron@outlook.com",
"address": {
"address_line_1": "500 shotgun rd",
"locality": "Fort Lauderdale",
"administrative_district_level_1": "FL",
"postal_code": "33326",
"country": "US"
},
"phone_number": "(954) 529-4253",
"preferences": {
"email_unsubscribed": false
},
"creation_source": "THIRD_PARTY",
"version": 0
}
}
Request
method:
uri: createOrder
user-agent: WooCommerce-Square/3.3.0 (WooCommerce/7.1.0; WordPress/6.0.3)
headers: Array
(
)
body:
duration: 0.28696s
Response
code: 200
message:
headers: Array
(
[0] => HTTP/2 200
[date] => Tue, 06 Dec 2022 14:15:37 GMT
[content-type] => application/json;charset=utf-8
[content-length] => 653
[frame-options] => DENY
[x-frame-options] => DENY
[x-content-type-options] => nosniff
[x-xss-protection] => 1; mode=block
[square-version] => 2021-10-20
[vary] => Accept-Encoding, User-Agent
[content-encoding] => gzip
[x-sq-dc] => sjc3b
[x-sq-region] => sjc3b
[strict-transport-security] => max-age=631152000; includeSubDomains; preload
)
body: {
"order": {
"id": "2YULjvTSvr3iUfCkOE131uipXzFZY",
"location_id": "SZX8ZCKCKPTW2",
"reference_id": "1941",
"source": {
"name": "WooCommerce"
},
"customer_id": "5ERNYA80H7P0WQRRPVZ5P1QR94",
"line_items": [
{
"uid": "znlI1r1mWol89BeDAaEF",
"name": "I love you (Natural Roses)",
"quantity": "1",
"item_type": "ITEM",
"applied_taxes": [
{
"uid": "Eo7Tr2cfcBHS0wMSmtoW1C",
"tax_uid": "638f4e894b1c8",
"applied_money": {
"amount": 910,
"currency": "USD"
}
}
],
"base_price_money": {
"amount": 13000,
"currency": "USD"
},
"variation_total_price_money": {
"amount": 13000,
"currency": "USD"
},
"gross_sales_money": {
"amount": 13000,
"currency": "USD"
},
"total_tax_money": {
"amount": 910,
"currency": "USD"
},
"total_discount_money": {
"amount": 0,
"currency": "USD"
},
"total_money": {
"amount": 13910,
"currency": "USD"
}
},
{
"uid": "XynjRFZxotGk12YajVmGgD",
"name": "Flat rate",
"quantity": "1",
"item_type": "ITEM",
"applied_taxes": [
{
"uid": "CwUBuW9me4QC9QpSEmrNFB",
"tax_uid": "638f4e894b1c8",
"applied_money": {
"amount": 210,
"currency": "USD"
}
}
],
"base_price_money": {
"amount": 3000,
"currency": "USD"
},
"variation_total_price_money": {
"amount": 3000,
"currency": "USD"
},
"gross_sales_money": {
"amount": 3000,
"currency": "USD"
},
"total_tax_money": {
"amount": 210,
"currency": "USD"
},
"total_discount_money": {
"amount": 0,
"currency": "USD"
},
"total_money": {
"amount": 3210,
"currency": "USD"
}
}
],
"taxes": [
{
"uid": "638f4e894b1c8",
"name": "TAX 7%-1",
"type": "ADDITIVE",
"percentage": "7.00",
"applied_money": {
"amount": 1120,
"currency": "USD"
},
"scope": "LINE_ITEM"
}
],
"net_amounts": {
"total_money": {
"amount": 17120,
"currency": "USD"
},
"tax_money": {
"amount": 1120,
"currency": "USD"
},
"discount_money": {
"amount": 0,
"currency": "USD"
},
"tip_money": {
"amount": 0,
"currency": "USD"
},
"service_charge_money": {
"amount": 0,
"currency": "USD"
}
},
"created_at": "2022-12-06T14:15:37.506Z",
"updated_at": "2022-12-06T14:15:37.506Z",
"state": "OPEN",
"version": 1,
"total_money": {
"amount": 17120,
"currency": "USD"
},
"total_tax_money": {
"amount": 1120,
"currency": "USD"
},
"total_discount_money": {
"amount": 0,
"currency": "USD"
},
"total_tip_money": {
"amount": 0,
"currency": "USD"
},
"total_service_charge_money": {
"amount": 0,
"currency": "USD"
}
}
}
Request
method:
uri: createPayment
user-agent: WooCommerce-Square/3.3.0 (WooCommerce/7.1.0; WordPress/6.0.3)
headers: Array
(
)
body:
duration: 1.59324s
Response
code: 200
message:
headers: Array
(
[0] => HTTP/2 200
[date] => Tue, 06 Dec 2022 14:15:39 GMT
[content-type] => application/json
[content-length] => 1015
[frame-options] => DENY
[x-frame-options] => DENY
[x-content-type-options] => nosniff
[x-xss-protection] => 1; mode=block
[square-version] => 2021-10-20
[squareup--connect--v2--common--versionmetadata-bin] => CgoyMDIxLTEwLTIw
[vary] => Accept-Encoding, User-Agent
[content-encoding] => gzip
[x-sq-dc] => sjc2b
[x-sq-region] => sjc2b
[strict-transport-security] => max-age=631152000; includeSubDomains; preload
)
body: {
"payment": {
"id": "x0ayA9sSO8Zj3gTXRvKitUWStoQZY",
"created_at": "2022-12-06T14:15:38.070Z",
"updated_at": "2022-12-06T14:15:39.105Z",
"amount_money": {
"amount": 17120,
"currency": "USD"
},
"total_money": {
"amount": 17120,
"currency": "USD"
},
"approved_money": {
"amount": 17120,
"currency": "USD"
},
"status": "COMPLETED",
"delay_duration": "PT168H",
"delay_action": "CANCEL",
"delayed_until": "2022-12-13T14:15:38.070Z",
"source_type": "CARD",
"card_details": {
"status": "CAPTURED",
"card": {
"card_brand": "VISA",
"last_4": "5103",
"exp_month": 3,
"exp_year": 2027,
"fingerprint": "sq-1-eqyFUNibKjt5zZfmVGHIHsQVskWt02o_N1CvxkPU0vLcpRbYry6nsl2XijNzFysjQw",
"card_type": "CREDIT",
"prepaid_type": "NOT_PREPAID",
"bin": "491337"
},
"entry_method": "KEYED",
"cvv_status": "CVV_ACCEPTED",
"avs_status": "AVS_NOT_CHECKED",
"auth_result_code": "153754",
"statement_description": "SQ *CAROL FLOWERS AND BA",
"card_payment_timeline": {
"authorized_at": "2022-12-06T14:15:38.548Z",
"captured_at": "2022-12-06T14:15:39.105Z"
}
},
"location_id": "SZX8ZCKCKPTW2",
"order_id": "2YULjvTSvr3iUfCkOE131uipXzFZY",
"reference_id": "1941",
"customer_id": "5ERNYA80H7P0WQRRPVZ5P1QR94",
"risk_evaluation": {
"created_at": "2022-12-06T14:15:38.883Z",
"risk_level": "NORMAL"
},
"buyer_email_address": "jrizopatron@outlook.com",
"billing_address": {
"address_line_1": "500 shotgun rd",
"address_line_2": "",
"locality": "Fort Lauderdale",
"administrative_district_level_1": "FL",
"postal_code": "33326",
"country": "US",
"first_name": "Marcela",
"last_name": "Ganoza"
},
"shipping_address": {
"address_line_1": "500 shotgun rd",
"address_line_2": "",
"locality": "Fort Lauderdale",
"administrative_district_level_1": "FL",
"postal_code": "33326",
"country": "US",
"first_name": "Marcela",
"last_name": "Ganoza"
},
"note": "Carol Flowers and Balloons - Order 1941",
"receipt_number": "x0ay",
"receipt_url": "https:\/\/squareup.com\/receipt\/preview\/x0ayA9sSO8Zj3gTXRvKitUWStoQZY",
"application_details": {
"square_product": "ECOMMERCE_API",
"application_id": "sq0idp-wGVapF8sNt9PLrdj5znuKA"
},
"version_token": "D9k7QVtkwBfRhMBHPvfMGAXeNpeJP6i1UZ1OgpgmpM35o"
}
}

Showing 1–12 of 148 results