How do I know if a payment belongs to collector or owner on a check?

When an order comes into our system via API we will record the sale under whoever is listed as 'collected by' instead of the 'owned by' assignment.

This is not the way a customer wants our program to work but there is no other way for us to parse the data to do what the customer wants (or so it seems)

The behavior that the customer wants to see is that a server opens a check and a manager can collect payment on the check and still have the order and tips assign to the server which is how Square records things. We just don't know how to differentiate between 'owner' and 'collector'.
We may not be pulling from the correct endpoint...

I have attached an example order that only references an employee named Tamta (she collected)
But Adara is the one the sale is actually owned by and square assigns Adara the sale and tips etc.

`yndsLLYSM1_F3gfRCnWL` : Tamta

![cap1|357x500](upload://k8BpxFLIfMzRGDGmIBZavn40jeK.jpeg)

This issue pops up if there are multiple payments and we don't know how to solve it.

For now, we are popping up a disclaimer for customers.

{
“id”: “fUIwFR1ArT8MwtiPYF7iazgeV”,
“location_id”: “SD9CNJJ4D2W99”,
“line_items”: [
{
“uid”: “BC3FA3E1-2076-422E-80CB-EC38370AAF58”,
“name”: “Oliver Manuel Pinot Noir”,
“quantity”: “1”,
“catalog_object_id”: “OGJZDWH6RIPFRGXPMVLFHSLJ”,
“variation_name”: “Bottle”,
“applied_taxes”: [
{
“uid”: “49E4B376-390A-4EA7-879F-0026D31EF05A”,
“tax_uid”: “560342B4-3B53-4C3F-81A7-738A9F689808”,
“applied_money”: {
“amount”: 559,
“currency”: “USD”
}
}
],
“base_price_money”: {
“amount”: 5200,
“currency”: “USD”
},
“variation_total_price_money”: {
“amount”: 5200,
“currency”: “USD”
},
“gross_sales_money”: {
“amount”: 5200,
“currency”: “USD”
},
“total_tax_money”: {
“amount”: 559,
“currency”: “USD”
},
“total_discount_money”: {
“amount”: 0,
“currency”: “USD”
},
“total_money”: {
“amount”: 5759,
“currency”: “USD”
},
“sales_category_external_id”: “D6TS6H3UXQPKHSKMDN44DB7M”
},
{
“uid”: “4D8B1D89-72A7-4EDA-A89A-0FD42AC57801”,
“name”: “Doremi Saperavi”,
“quantity”: “1”,
“catalog_object_id”: “5YLE6PPAJHHC47LV6ZUAGAO2”,
“variation_name”: “Bottle”,
“applied_taxes”: [
{
“uid”: “3F081063-7D79-422F-A91C-8802622AC2C7”,
“tax_uid”: “560342B4-3B53-4C3F-81A7-738A9F689808”,
“applied_money”: {
“amount”: 602,
“currency”: “USD”
}
}
],
“base_price_money”: {
“amount”: 5600,
“currency”: “USD”
},
“variation_total_price_money”: {
“amount”: 5600,
“currency”: “USD”
},
“gross_sales_money”: {
“amount”: 5600,
“currency”: “USD”
},
“total_tax_money”: {
“amount”: 602,
“currency”: “USD”
},
“total_discount_money”: {
“amount”: 0,
“currency”: “USD”
},
“total_money”: {
“amount”: 6202,
“currency”: “USD”
},
“sales_category_external_id”: “D6TS6H3UXQPKHSKMDN44DB7M”
},
{
“uid”: “3E960E26-716A-46D8-BB7B-6BCCCA67207F”,
“name”: “Hummus”,
“quantity”: “1”,
“catalog_object_id”: “4O4WGOREVFSUN56Q3MZB7T5V”,
“variation_name”: “Regular”,
“applied_taxes”: [
{
“uid”: “1FEA3BDE-1907-4E26-ACAF-918CB703D2A1”,
“tax_uid”: “560342B4-3B53-4C3F-81A7-738A9F689808”,
“applied_money”: {
“amount”: 86,
“currency”: “USD”
}
}
],
“base_price_money”: {
“amount”: 800,
“currency”: “USD”
},
“variation_total_price_money”: {
“amount”: 800,
“currency”: “USD”
},
“gross_sales_money”: {
“amount”: 800,
“currency”: “USD”
},
“total_tax_money”: {
“amount”: 86,
“currency”: “USD”
},
“total_discount_money”: {
“amount”: 0,
“currency”: “USD”
},
“total_money”: {
“amount”: 886,
“currency”: “USD”
},
“sales_category_external_id”: “FUXC5IFDYC5J644RALCTQPII”
},
{
“uid”: “205C92DA-4AE1-4919-AB27-9DD0F1AF71E6”,
“name”: “Sigara Boregi”,
“quantity”: “1”,
“catalog_object_id”: “4UORBF4GKEMVS2CZ6FMRHS6F”,
“variation_name”: “Regular”,
“applied_taxes”: [
{
“uid”: “B538E63B-551C-4703-A306-F63DE0D34925”,
“tax_uid”: “560342B4-3B53-4C3F-81A7-738A9F689808”,
“applied_money”: {
“amount”: 86,
“currency”: “USD”
}
}
],
“base_price_money”: {
“amount”: 800,
“currency”: “USD”
},
“variation_total_price_money”: {
“amount”: 800,
“currency”: “USD”
},
“gross_sales_money”: {
“amount”: 800,
“currency”: “USD”
},
“total_tax_money”: {
“amount”: 86,
“currency”: “USD”
},
“total_discount_money”: {
“amount”: 0,
“currency”: “USD”
},
“total_money”: {
“amount”: 886,
“currency”: “USD”
},
“sales_category_external_id”: “FUXC5IFDYC5J644RALCTQPII”
},
{
“uid”: “222D05E9-722A-4013-B5A4-F72E700A3D94”,
“name”: “Adjaruli”,
“quantity”: “1”,
“catalog_object_id”: “PBXAJN45STW74BNMREVGR22C”,
“variation_name”: “Regular”,
“applied_taxes”: [
{
“uid”: “13AEDA33-9667-4161-829F-B7ABA4BEECD4”,
“tax_uid”: “560342B4-3B53-4C3F-81A7-738A9F689808”,
“applied_money”: {
“amount”: 194,
“currency”: “USD”
}
}
],
“base_price_money”: {
“amount”: 1800,
“currency”: “USD”
},
“variation_total_price_money”: {
“amount”: 1800,
“currency”: “USD”
},
“gross_sales_money”: {
“amount”: 1800,
“currency”: “USD”
},
“total_tax_money”: {
“amount”: 194,
“currency”: “USD”
},
“total_discount_money”: {
“amount”: 0,
“currency”: “USD”
},
“total_money”: {
“amount”: 1994,
“currency”: “USD”
},
“sales_category_external_id”: “FUXC5IFDYC5J644RALCTQPII”
},
{
“uid”: “78C7D09D-C6B1-44A8-8DEE-1ABB547A4853”,
“name”: “Adana”,
“quantity”: “1”,
“catalog_object_id”: “MYTUWKJSYXLBHHZ42KSZBKLA”,
“variation_name”: “Regular”,
“applied_taxes”: [
{
“uid”: “B349544B-AF9A-4B4D-B8EF-0274ADDC04CE”,
“tax_uid”: “560342B4-3B53-4C3F-81A7-738A9F689808”,
“applied_money”: {
“amount”: 236,
“currency”: “USD”
}
}
],
“base_price_money”: {
“amount”: 2200,
“currency”: “USD”
},
“variation_total_price_money”: {
“amount”: 2200,
“currency”: “USD”
},
“gross_sales_money”: {
“amount”: 2200,
“currency”: “USD”
},
“total_tax_money”: {
“amount”: 236,
“currency”: “USD”
},
“total_discount_money”: {
“amount”: 0,
“currency”: “USD”
},
“total_money”: {
“amount”: 2436,
“currency”: “USD”
},
“sales_category_external_id”: “FUXC5IFDYC5J644RALCTQPII”
},
{
“uid”: “B4FF3835-8E68-4749-8E84-C30006951826”,
“name”: “Kofte”,
“quantity”: “1”,
“catalog_object_id”: “2EXT3RANRJDA63HTIKUTWBLR”,
“variation_name”: “Regular”,
“applied_taxes”: [
{
“uid”: “CE8550D7-D282-4C11-BFD8-90FA5FF02CA0”,
“tax_uid”: “560342B4-3B53-4C3F-81A7-738A9F689808”,
“applied_money”: {
“amount”: 215,
“currency”: “USD”
}
}
],
“base_price_money”: {
“amount”: 2000,
“currency”: “USD”
},
“variation_total_price_money”: {
“amount”: 2000,
“currency”: “USD”
},
“gross_sales_money”: {
“amount”: 2000,
“currency”: “USD”
},
“total_tax_money”: {
“amount”: 215,
“currency”: “USD”
},
“total_discount_money”: {
“amount”: 0,
“currency”: “USD”
},
“total_money”: {
“amount”: 2215,
“currency”: “USD”
},
“sales_category_external_id”: “FUXC5IFDYC5J644RALCTQPII”
},
{
“uid”: “5AAC888E-AA9A-4E39-BB09-4D0D6A7F2255”,
“name”: “Tokat”,
“quantity”: “1”,
“catalog_object_id”: “UVMPHAPDJWWWFDXJGKZAYJ7S”,
“variation_name”: “Regular”,
“modifiers”: [
{
“uid”: “1363628E-F939-49DE-8B14-794791D5EB31”,
“catalog_object_id”: “PNO6TCYJ7ZSA4BCXJA3RISXC”,
“name”: “Sis (Lamb)”,
“base_price_money”: {
“amount”: 0,
“currency”: “USD”
},
“total_price_money”: {
“amount”: 0,
“currency”: “USD”
}
}
],
“applied_taxes”: [
{
“uid”: “3119AA82-2822-4D45-B59E-091267A704FA”,
“tax_uid”: “560342B4-3B53-4C3F-81A7-738A9F689808”,
“applied_money”: {
“amount”: 226,
“currency”: “USD”
}
}
],
“base_price_money”: {
“amount”: 2100,
“currency”: “USD”
},
“variation_total_price_money”: {
“amount”: 2100,
“currency”: “USD”
},
“gross_sales_money”: {
“amount”: 2100,
“currency”: “USD”
},
“total_tax_money”: {
“amount”: 226,
“currency”: “USD”
},
“total_discount_money”: {
“amount”: 0,
“currency”: “USD”
},
“total_money”: {
“amount”: 2326,
“currency”: “USD”
},
“sales_category_external_id”: “FUXC5IFDYC5J644RALCTQPII”
}
],
“taxes”: [
{
“uid”: “560342B4-3B53-4C3F-81A7-738A9F689808”,
“catalog_object_id”: “NCBAXFC25WQDXS6PKMV76ULW”,
“name”: “Sales Tax”,
“type”: “ADDITIVE”,
“percentage”: “10.75”,
“applied_money”: {
“amount”: 2204,
“currency”: “USD”
},
“scope”: “LINE_ITEM”
}
],
“return_amounts”: {
“total_money”: {
“amount”: 0,
“currency”: “USD”
},
“tax_money”: {
“amount”: 0,
“currency”: “USD”
},
“discount_money”: {
“amount”: 0,
“currency”: “USD”
},
“tip_money”: {
“amount”: 0,
“currency”: “USD”
},
“service_charge_money”: {
“amount”: 0,
“currency”: “USD”
}
},
“net_amounts”: {
“total_money”: {
“amount”: 27245,
“currency”: “USD”
},
“tax_money”: {
“amount”: 2204,
“currency”: “USD”
},
“discount_money”: {
“amount”: 0,
“currency”: “USD”
},
“tip_money”: {
“amount”: 4541,
“currency”: “USD”
},
“service_charge_money”: {
“amount”: 0,
“currency”: “USD”
}
},
“tenders”: [
{
“id”: “f1XqsemzUraV8pTLBImlXUnOvaB”,
“location_id”: “SD9CNJJ4D2W99”,
“transaction_id”: “fUIwFR1ArT8MwtiPYF7iazgeV”,
“created_at”: “2021-06-13T02:50:47Z”,
“amount_money”: {
“amount”: 9082,
“currency”: “USD”
},
“tip_money”: {
“amount”: 1514,
“currency”: “USD”
},
“processing_fee_money”: {
“amount”: 246,
“currency”: “USD”
},
“customer_id”: “13CGMRHPSH78NF3YD68WZP5KH8”,
“type”: “CARD”,
“card_details”: {
“status”: “CAPTURED”,
“card”: {
“card_brand”: “VISA”,
“last_4”: “6841”,
“fingerprint”: “sq-1-HbVq1hpPqdDybDsnfrYiw1VDnFxGYxP7k4S811NTNCGq0mFdeHDH1Q15Riup1FxvRQ”
},
“entry_method”: “SWIPED”
}
},
{
“id”: “haRUJZgjLmyaRHRDB7QKaqqPvaB”,
“location_id”: “SD9CNJJ4D2W99”,
“transaction_id”: “fUIwFR1ArT8MwtiPYF7iazgeV”,
“created_at”: “2021-06-13T02:51:16Z”,
“amount_money”: {
“amount”: 18163,
“currency”: “USD”
},
“tip_money”: {
“amount”: 3027,
“currency”: “USD”
},
“processing_fee_money”: {
“amount”: 482,
“currency”: “USD”
},
“customer_id”: “BMXTYXHE4S5E58KWPYMQ7XPTYW”,
“type”: “CARD”,
“card_details”: {
“status”: “CAPTURED”,
“card”: {
“card_brand”: “MASTERCARD”,
“last_4”: “9578”,
“fingerprint”: “sq-1-UQPgtpbu0a5poFLVWs0vQgftZ0r2Q-oPjpCtRzZ4y50gG1TG69TT5NNk3n69xyPrnw”
},
“entry_method”: “SWIPED”
}
}
],
“created_at”: “2021-06-13T02:51:18.000Z”,
“updated_at”: “2021-06-13T04:33:55.000Z”,
“closed_at”: “2021-06-13T04:33:55.000Z”,
“state”: “COMPLETED”,
“total_money”: {
“amount”: 27245,
“currency”: “USD”
},
“total_tax_money”: {
“amount”: 2204,
“currency”: “USD”
},
“total_discount_money”: {
“amount”: 0,
“currency”: “USD”
},
“total_tip_money”: {
“amount”: 4541,
“currency”: “USD”
},
“total_service_charge_money”: {
“amount”: 0,
“currency”: “USD”
},
“payments”: [
{
“id”: “f1XqsemzUraV8pTLBImlXUnOvaB”,
“created_at”: “2021-06-13T02:50:48.053Z”,
“updated_at”: “2021-06-13T04:33:58.341Z”,
“amount_money”: {
“amount”: 7568,
“currency”: “USD”
},
“tip_money”: {
“amount”: 1514,
“currency”: “USD”
},
“total_money”: {
“amount”: 9082,
“currency”: “USD”
},
“approved_money”: {
“amount”: 7568,
“currency”: “USD”
},
“processing_fee”: [
{
“effective_at”: “2021-06-13T06:33:56.000Z”,
“type”: “INITIAL”,
“amount_money”: {
“amount”: 246,
“currency”: “USD”
}
}
],
“status”: “COMPLETED”,
“source_type”: “CARD”,
“card_details”: {
“status”: “CAPTURED”,
“card”: {
“card_brand”: “VISA”,
“last_4”: “6841”,
“exp_month”: 12,
“exp_year”: 2023,
“cardholder_name”: "OLSEN/CAROL ",
“fingerprint”: “sq-1-HbVq1hpPqdDybDsnfrYiw1VDnFxGYxP7k4S811NTNCGq0mFdeHDH1Q15Riup1FxvRQ”,
“card_type”: “CREDIT”,
“prepaid_type”: “NOT_PREPAID”,
“bin”: “438852”
},
“entry_method”: “SWIPED”,
“cvv_status”: “CVV_NOT_CHECKED”,
“avs_status”: “AVS_NOT_CHECKED”,
“auth_result_code”: “01446D”,
“statement_description”: “SQ *ODA MEDITERRANEAN CU”,
“device_details”: {
“device_id”: “DEVICE_INSTALLATION_ID:790F704C-BF49-4E73-A41C-8B493AD38944”,
“device_installation_id”: “790F704C-BF49-4E73-A41C-8B493AD38944”,
“device_name”: “Oda”
},
“card_payment_timeline”: {
“authorized_at”: “2021-06-13T02:50:48.303Z”,
“captured_at”: “2021-06-13T04:33:56.997Z”
}
},
“location_id”: “SD9CNJJ4D2W99”,
“order_id”: “fUIwFR1ArT8MwtiPYF7iazgeV”,
“employee_id”: “yndsLLYSM1_F3gfRCnWL”,
“receipt_number”: “f1Xq”,
“receipt_url”: “https://squareup.com/receipt/preview/f1XqsemzUraV8pTLBImlXUnOvaB”,
“version_token”: “db7pYiXjgZNQl6p0u6e4cvrnSpr2WB63C8aeKlS4RiD6o”,
“type”: “CARD”
},
{
“id”: “haRUJZgjLmyaRHRDB7QKaqqPvaB”,
“created_at”: “2021-06-13T02:51:17.408Z”,
“updated_at”: “2021-06-13T04:33:57.323Z”,
“amount_money”: {
“amount”: 15136,
“currency”: “USD”
},
“tip_money”: {
“amount”: 3027,
“currency”: “USD”
},
“total_money”: {
“amount”: 18163,
“currency”: “USD”
},
“approved_money”: {
“amount”: 15136,
“currency”: “USD”
},
“processing_fee”: [
{
“effective_at”: “2021-06-13T06:33:56.000Z”,
“type”: “INITIAL”,
“amount_money”: {
“amount”: 482,
“currency”: “USD”
}
}
],
“status”: “COMPLETED”,
“source_type”: “CARD”,
“card_details”: {
“status”: “CAPTURED”,
“card”: {
“card_brand”: “MASTERCARD”,
“last_4”: “9578”,
“exp_month”: 11,
“exp_year”: 2022,
“cardholder_name”: "PEPIN/EVERETT L ",
“fingerprint”: “sq-1-UQPgtpbu0a5poFLVWs0vQgftZ0r2Q-oPjpCtRzZ4y50gG1TG69TT5NNk3n69xyPrnw”,
“card_type”: “CREDIT”,
“prepaid_type”: “NOT_PREPAID”,
“bin”: “521876”
},
“entry_method”: “SWIPED”,
“cvv_status”: “CVV_NOT_CHECKED”,
“avs_status”: “AVS_NOT_CHECKED”,
“auth_result_code”: “06631Z”,
“statement_description”: “SQ *ODA MEDITERRANEAN CU”,
“device_details”: {
“device_id”: “DEVICE_INSTALLATION_ID:790F704C-BF49-4E73-A41C-8B493AD38944”,
“device_installation_id”: “790F704C-BF49-4E73-A41C-8B493AD38944”,
“device_name”: “Oda”
},
“card_payment_timeline”: {
“authorized_at”: “2021-06-13T02:51:17.825Z”,
“captured_at”: “2021-06-13T04:33:56.379Z”
}
},
“location_id”: “SD9CNJJ4D2W99”,
“order_id”: “fUIwFR1ArT8MwtiPYF7iazgeV”,
“employee_id”: “yndsLLYSM1_F3gfRCnWL”,
“receipt_number”: “haRU”,
“receipt_url”: “https://squareup.com/receipt/preview/haRUJZgjLmyaRHRDB7QKaqqPvaB”,
“version_token”: “Au5hpNN59NdgiiiofEGRHIdm8POdPHVO4s4kjI5F4Dw6o”,
“type”: “CARD”
}
]
}

With Square Restaurants the sale is attributed to the employee that opens the ticket. The collected by employee is the employee_id that will be associated to the payment that is returned with the Payments API. Unfortunately, the sale attributed to employee_id isn’t currently returned in either the order or payment object. We’re constantly working to improve our features based on feedback like this, so I’ll be sure to share your request to the API product team.

Hey Bryan, thank you for the reply. Is there a way to push certain requests like this up the queue? Our product - and any tip distribution product cant work (perfectly) with the way things are set up currently.

I can definitely move this to our Feature Requests where the team does review requests. :slightly_smiling_face:

Is there any chance the “attributed to” property will be available in a future API?

At this time we don’t have public roadmaps for features and releases like this. :slightly_smiling_face:

Hi Bryan,

Do you have any update on providing check owner information with the order api?
It was raised around 2 years back.

At this time there aren’t any new updates on this feature request. :slightly_smiling_face: