Green Check Access
Green Check Access (1.0.0)
Overview
Languages
Servers
Mock server
https://developer.greencheckverified.com/_mock/apis/swagger
Sandbox server
https://sandbox-api.greencheckverified.com
Production server
https://prod-api.greencheckverified.com
- Mock serverhttps://developer.greencheckverified.com/_mock/apis/swagger/service-providers/{sp_id}/crbs/{crb_id}/sales
- Sandbox serverhttps://sandbox-api.greencheckverified.com/service-providers/{sp_id}/crbs/{crb_id}/sales
- Production serverhttps://prod-api.greencheckverified.com/service-providers/{sp_id}/crbs/{crb_id}/sales
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.greencheckverified.com/_mock/apis/swagger/service-providers/{sp_id}/crbs/{crb_id}/sales?limit=1000&offset=0&start_date=string&end_date=string&customer_id=string&pos_customer_id=string&last_updated_from=string&last_updated_to=string' \
-H 'Authorization: YOUR_API_KEY_HERE'Ok
Any of:
Transaction Type provided by point of sale
Enum"sale""return""adjustment"
Enum"Alleaves""Dutchie""Dutchie Wholesale""Cova""Meadow""MJ Freeway""MJ Freeway Wholesale""Greenbits""GrowFlow""GrowFlow Wholesale"
Sale Line Items
data[].line_items[].product_idstring or null(uuid)^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F...required
The unique ID of the product, can be accessed with /product endpoints
GCV mapped product type
Enum"flower""oil/concentrate""edible""other""seedling""seed""liquid""solid""extract""plant"
Line item specific discounts
Discount amount in cents
Discount percentage as a real number
Line item specific taxes
Line item specific fees
Fee percentage as a real number
Flat amount of fee in cents
Sale Discounts
Sale Taxes
Payment type and amount
Sale Fees
Green Check Verified compliance status
Enum"unchecked""red_flag""green_checked""warning"
Response
application/json
{ "data": [ { "type": "wholesale", "invoice": { "id": null, "total": null, "open_balance": null, "memo": "anim ad ex", "pos_customer_id": null }, "id": "7971CBD4-A0aa-EBc3-B17f-7C404Cb9ADdb", "pos_sale_id": null, "crb_id": "2C6d5b9f-B03D-DBb6-a5CA-4D7d8bAd1cA4", "subtotal": 4050, "total_discounts": 11900, "tax_paid": 62, "total_paid": 6480, "date": "2023-09-19T02:57:34.000Z", "local_date": "2023-10-31T15:18:22.652Z", "gc_created_date": "2023-10-28T17:31:35.000Z", "gc_updated_date": "2023-10-31T15:21:57.000Z", "transaction_type": "return", "pos_name": "Cova", "employee_id": "aute cupidatat Ut dolore proident", "line_items": [ { "product_id": null, "pos_product_id": "labore ea Duis aute", "product_name": "Seed & Strain - Sticky Glue - 28g Flower", "num_units": 9, "price_per_unit": 3600, "grams": 7, "product_type": "other", "cannabis_product": true, "line_item_discounts": [ { "flat_amount": 10000, "pct_amount": 0.25, "name": "Buy two - $5 discount" }, { "flat_amount": 4050, "pct_amount": 0.95, "name": "Buy two - $5 discount" } ], "line_item_taxes": [ { "flat_amount": 10000, "pct_amount": 0.95, "name": "State" }, { "flat_amount": 19000, "pct_amount": 0.08, "name": "County - 2.5" }, { "flat_amount": 22914, "pct_amount": 0.08, "name": "County - 2.5" }, { "flat_amount": 19000, "pct_amount": 0.95, "name": "State" } ], "line_item_fees": [ { "fee_name": "Donation", "percent_amount": 0.95, "flat_amount": 375, "included_in_subtotal": false }, { "fee_name": "Card fee", "percent_amount": 0.25, "flat_amount": 500, "included_in_subtotal": false }, { "fee_name": "Delivery Fee", "percent_amount": 0.08, "flat_amount": 500, "included_in_subtotal": true }, { "fee_name": "Donation", "percent_amount": 0.25, "flat_amount": 500, "included_in_subtotal": null }, { "fee_name": "Donation", "percent_amount": 0.25, "flat_amount": 500, "included_in_subtotal": true } ] }, { "product_id": "nulla occaecat velit fugiat reprehenderit", "pos_product_id": null, "product_name": "Plant Material - Cuvée", "num_units": 15, "price_per_unit": 8200, "grams": 12, "product_type": "topical", "cannabis_product": null, "line_item_discounts": [ { "flat_amount": 22914, "pct_amount": 0.95, "name": "Buy two - $5 discount" }, { "flat_amount": 4500, "pct_amount": 0.25, "name": "10% Friday Discount" }, { "flat_amount": 22914, "pct_amount": 0.25, "name": "Buy two - $5 discount" }, { "flat_amount": 19000, "pct_amount": 0.08, "name": "10% Friday Discount" }, { "flat_amount": 4050, "pct_amount": 0.95, "name": "Buy two - $5 discount" } ], "line_item_taxes": [ { "flat_amount": 4400, "pct_amount": 0.25, "name": "County - 2.5" }, { "flat_amount": 6480, "pct_amount": 0.95, "name": "State" }, { "flat_amount": 4880, "pct_amount": 0.25, "name": "County - 2.5" }, { "flat_amount": 22914, "pct_amount": 0.25, "name": "State" } ], "line_item_fees": [ { "fee_name": "Donation", "percent_amount": 0.08, "flat_amount": 500, "included_in_subtotal": true }, { "fee_name": "Donation", "percent_amount": 0.25, "flat_amount": 375, "included_in_subtotal": null } ] } ], "discounts": [ { "flat_amount": 22914, "pct_amount": 0.08, "name": "10% Friday Discount" }, { "flat_amount": 5240, "pct_amount": 0.95, "name": "10% Friday Discount" }, { "flat_amount": 19000, "pct_amount": 0.25, "name": "Employee" }, { "flat_amount": 6480, "pct_amount": 0.95, "name": "Buy two - $5 discount" } ], "taxes": [ { "flat_amount": 6480, "pct_amount": 0.95, "name": "State" }, { "flat_amount": 4400, "pct_amount": 0.95, "name": "State" }, { "flat_amount": 4400, "pct_amount": 0.25, "name": "State" }, { "flat_amount": 5240, "pct_amount": 0.95, "name": "State" } ], "payments": [ { "type": "cash", "amount_paid": 35000 }, { "type": "cash", "amount_paid": 23000 }, { "type": "credit", "amount_paid": 9500 }, { "type": "check", "amount_paid": 23000 }, { "type": "other", "amount_paid": 14000 } ], "customer": null, "fees": [ { "fee_name": "Card fee", "percent_amount": 0.08, "flat_amount": 500, "included_in_subtotal": false }, { "fee_name": "Card fee", "percent_amount": 0.25, "flat_amount": 500, "included_in_subtotal": null }, { "fee_name": "Card fee", "percent_amount": 0.95, "flat_amount": 500, "included_in_subtotal": true }, { "fee_name": "Delivery Fee", "percent_amount": 0.95, "flat_amount": 500, "included_in_subtotal": true }, { "fee_name": "Card fee", "percent_amount": 0.08, "flat_amount": 500, "included_in_subtotal": false } ] }, { "type": "retail", "customer": { "customer_id": "eu", "pos_customer_id": "Lorem cupidatat magna do sit", "type": "rec", "dob": "1972-09-12T00:00:00.000Z", "id_type": "passport", "id_expiration_date": "2025-12-14T00:00:00.000Z" }, "compliance_status": "warning", "compliance_exceptions": null, "compliance_warnings": [ "elit est in ut Duis", "laborum ullamco ad", "adipisicing ad nulla", "enim eiusmod ut sed veniam" ], "id": "3d705705-89Bd-BdD7-54A9-AcB3c2a5aeF7", "pos_sale_id": "laboris consectetur nostrud velit", "crb_id": "8f00A9CA-20d1-3cE2-1c57-bE1DC4D82Fac", "subtotal": 22914, "total_discounts": 4750, "tax_paid": 44, "total_paid": 4400, "date": "2023-10-06T20:01:14.000Z", "local_date": "2023-10-28T11:31:35.563Z", "gc_created_date": "2023-09-18T20:57:34.000Z", "gc_updated_date": "2023-10-31T15:21:57.000Z", "transaction_type": "adjustment", "pos_name": "Dutchie", "employee_id": "fugiat Duis Lorem", "line_items": [], "discounts": [ { "flat_amount": 5240, "pct_amount": 0.08, "name": "Buy two - $5 discount" }, { "flat_amount": 5240, "pct_amount": 0.95, "name": "Buy two - $5 discount" }, { "flat_amount": 4050, "pct_amount": 0.08, "name": "Buy two - $5 discount" }, { "flat_amount": 4500, "pct_amount": 0.95, "name": "10% Friday Discount" }, { "flat_amount": 22914, "pct_amount": 0.08, "name": "Buy two - $5 discount" } ], "taxes": [ { "flat_amount": 6480, "pct_amount": 0.95, "name": "County - 2.5" } ], "payments": [ { "type": "other", "amount_paid": 23000 }, { "type": "other", "amount_paid": 23046 }, { "type": "other", "amount_paid": 9500 }, { "type": "check", "amount_paid": 4000 }, { "type": "credit", "amount_paid": 23000 } ], "fees": [] }, { "type": "retail", "customer": { "customer_id": null, "pos_customer_id": null, "type": "rec", "dob": "1997-05-13T00:00:00.000Z", "id_type": "drivers", "id_expiration_date": "2025-12-14T00:00:00.000Z" }, "compliance_status": "warning", "compliance_exceptions": [ "tempor", "anim laborum in in fugiat" ], "compliance_warnings": null, "id": "7e5D4DcB-76Fb-E084-2FE4-CFd5b2C46CcA", "pos_sale_id": "id qui adipisicing consequat ad", "crb_id": "9f8c3F3C-c3EB-Eed6-ec26-C1434e44c9a5", "subtotal": 6480, "total_discounts": 4750, "tax_paid": 44, "total_paid": 6480, "date": "2023-10-06T20:01:14.000Z", "local_date": "2023-10-28T11:31:35.563Z", "gc_created_date": "2023-09-18T20:57:34.000Z", "gc_updated_date": "2023-02-28T14:01:33.000Z", "transaction_type": "return", "pos_name": "Meadow", "employee_id": null, "line_items": [], "discounts": [], "taxes": [], "payments": [], "fees": [] } ], "metadata": { "count": "100 - 172", "total": 33674234 } }