imports.paymentHistory
Owner or office: payments imported from another system (read-only history; never charged, never counted toward Doing Work fees). Filter by customer_id.
When to use it
Owner or office: payments imported from another system (read-only history; never charged, never counted toward Doing Work fees). Filter by customer_id.
What to tell the owner
Tell them what you found in plain words. Don't read back raw fields.
| Field | Type | Required |
|---|
shop_id | string (uuid) | yes |
customer_id | string (uuid) | no |
limit | integer | no |
Example
GET https://doingwork.work/v1/imports/payments?shop_id=00000000-0000-4000-8000-000000000000
Output
| Field | Type | Always there |
|---|
payments | array | yes |
total_minor | integer | yes |
{
"payments": [
{}
],
"total_minor": 50000
}
Errors
| Code | Status | What to do |
|---|
invalid_input, invalid_token, rate_limited | | Can happen on any call. See errors. |