Send receipt

This api used for send e-receipt to either email or whatsapp

POST https://tokoapi-stg.netzme.com/public/api/v1/createReceipt/{merchant_id}

ParameterData TypeDescription

merchant_id*

String

Merchant id toko netzme

requestId*

String

Unique id for request with format {{ClientId}}{{YYYYMMDDHHmmss}}{{4 digit increments}}. e.g : aggregator202103031542100001

type*

String

fill with create_e-receipt

language*

String

Language of text e-receipt, en for english and id for bahasa

receipt_send_type*

String

Type of method send e-receipt. Option, email for send to email and wa.me generate link wa, print only save data

cashier_name

String

Name of cashier.

buyer_name

String

Name of customer or buyer

buyer_email*

String

Buyer email ,required if receipt_send_type email . e.g. nama@netzme.id

buyer_phone_number*

String

Buyer phone number, required if receipt_send_type wa.me

order_number*

String

Order number partner

invoice_number

String

Invoice number Netzme

buyer_payment_status*

String

Payment status. Option paid

buyer_payment*

Integer

Buyer amount. e.g. 10000

buyer_change*

Integer

Buyer money changes. e.g 0

created_at*

String

Create of transaction had paid

merchant_id_type

String

Optional, for detail info please contact netzme

merchant_id*

String

Merchant id netzme

order_items*

Array

Order item list

product_name*

String

Product or item name

quantity*

Integer

Total quantity of product or item. e.g. 2

product_price*

Integer

Total price of product or item. e.g. 5000

payment_method_name*

String

type of payment method. Option lunas, qris

Last updated