TOKEN variable is populated (via the existing auth flow/environment variables) before calling this endpoint.GET/v1/purchase/receiptid_region – Numeric region identifier.k_business – Business key (ID) for which the purchase was made.k_purchase – Purchase key (ID) whose receipt details should be retrieved.a_business – Business information for the seller, e.g.:text_title – Business name.text_address – Business address.text_phone – Business phone number.text_mail – Business email.a_logo – Logo metadata (text_url, dimensions, etc.).a_customer – Customer (buyer) details, e.g.:text_name – Customer full name.text_address – Customer billing address.text_phone – Customer phone.text_mail – Customer email.a_pay_method – One or more payment method entries used for the purchase, each including e.g.:m_amount – Amount charged using this payment method.text_currency – Currency code (e.g. usd).text_pay_method – Payment method label (e.g. Cash1, card, etc.).a_price – Aggregated price information:m_sum – Subtotal before tax/discounts.m_discount – Total discount amount.m_tax – Total tax amount.m_tip – Tip amount.m_total – Grand total paid.text_currency – Currency code.a_purchase_item – Array of purchased items, each with e.g.:text_title – Item title (e.g. membership or product name).text_category – Category (e.g. Membership).i_count – Quantity purchased.m_price_total – Total price for this line item.text_currency – Currency code.a_logo – Optional item logo metadata.dtl_purchase – Purchase date/time.text_purchase_id – Purchase/receipt identifier.has_signature – Indicates whether a digital signature is stored.html_receipt – Full HTML representation of the receipt (for rendering in a web view).url_print – URL for a printable version of the purchase.url_print_receipt – URL for printing the receipt specifically.status – Request status (e.g. ok on success).html_receipt, url_print, or url_print_receipt when you need to show or print the formatted receipt.m_*) are strings representing decimal values; convert as needed in your client.curl --location -g --request GET '/v1/purchase/receipt?id_region={{id_region}}&k_business={{k_business}}&k_purchase=undefined' \
--header 'Content-Type: text/plain' \
--data-raw ''{}