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": "retail", "customer": { "customer_id": null, "pos_customer_id": "sint in cupidatat in elit", "type": "rec", "dob": "1960-07-29T00:00:00.000Z", "id_type": "medical", "id_expiration_date": "2025-11-08T00:00:00.000Z" }, "compliance_status": "warning", "compliance_exceptions": [ "Excepteur culpa commodo sit voluptate", "proident nisi officia Excepteur eu", "irure consequat in nisi aute" ], "compliance_warnings": [ "velit voluptate", "cupidatat in nisi esse do" ], "id": "870cb44e-A5A4-dED8-BA29-BdBeEB1eD677", "pos_sale_id": null, "crb_id": "F9F6F024-A7CB-8154-0cb2-3Ca5EBE7Fd37", "subtotal": 4050, "total_discounts": 10300, "tax_paid": 49, "total_paid": 10000, "date": "2023-10-30T13:57:30.000Z", "local_date": "2023-10-31T15:21:57.167Z", "gc_created_date": "2023-10-31T15:18:22.000Z", "gc_updated_date": "2023-09-18T20:57:34.000Z", "transaction_type": "return", "pos_name": "Treez", "employee_id": null, "line_items": [ { "product_id": null, "pos_product_id": "qui ullamco dolor fugiat", "product_name": "Preroll Bulk - GG2B", "num_units": 2, "price_per_unit": 12500, "grams": 1, "product_type": "flower", "cannabis_product": null, "line_item_discounts": [ { "flat_amount": 19000, "pct_amount": 0.08, "name": "Employee" } ], "line_item_taxes": [ { "flat_amount": 22914, "pct_amount": 0.95, "name": "County - 2.5" } ], "line_item_fees": [ { "fee_name": "Card fee", "percent_amount": 0.95, "flat_amount": 375, "included_in_subtotal": null }, { "fee_name": "Card fee", "percent_amount": 0.08, "flat_amount": 375, "included_in_subtotal": null }, { "fee_name": "Donation", "percent_amount": 0.95, "flat_amount": 500, "included_in_subtotal": null }, { "fee_name": "Donation", "percent_amount": 0.25, "flat_amount": 375, "included_in_subtotal": null }, { "fee_name": "Card fee", "percent_amount": 0.95, "flat_amount": 500, "included_in_subtotal": false } ] }, { "product_id": "in eu", "pos_product_id": "in minim reprehenderit consectetur cillum", "product_name": "Rocket Fuel .85 Cart", "num_units": 7, "price_per_unit": 4500, "grams": 3.5, "product_type": "other", "cannabis_product": null, "line_item_discounts": [ { "flat_amount": 22914, "pct_amount": 0.08, "name": "Buy two - $5 discount" }, { "flat_amount": 6480, "pct_amount": 0.95, "name": "Employee" } ], "line_item_taxes": [ { "flat_amount": 10000, "pct_amount": 0.08, "name": "State" }, { "flat_amount": 22914, "pct_amount": 0.25, "name": "County - 2.5" }, { "flat_amount": 4050, "pct_amount": 0.25, "name": "County - 2.5" } ], "line_item_fees": [ { "fee_name": "Card fee", "percent_amount": 0.95, "flat_amount": 375, "included_in_subtotal": null } ] } ], "discounts": [], "taxes": [ { "flat_amount": 6480, "pct_amount": 0.25, "name": "State" }, { "flat_amount": 4880, "pct_amount": 0.25, "name": "County - 2.5" }, { "flat_amount": 5240, "pct_amount": 0.25, "name": "State" }, { "flat_amount": 10000, "pct_amount": 0.95, "name": "State" }, { "flat_amount": 6480, "pct_amount": 0.25, "name": "State" } ], "payments": [ { "type": "store_credit", "amount_paid": 6176 }, { "type": "cash", "amount_paid": 23046 }, { "type": "check", "amount_paid": 35000 } ], "fees": [] } ], "metadata": { "count": "100 - 172", "total": 40836116 } }