Payment receipts

Write

What it covers#

Every approved charge that goes through the agent produces a receipt with its own code, a page to view it and an image to share. With these two tools the merchant lists the receipts for a period and resends one to the customer over WhatsApp.

The receipt is an informational document about the charge. It is not an electronic invoice.

Tools#

List payment receipts

Read only

tilopay_list_receipts

Lists the merchant's latest payment receipts (amount, customer, order and code). Each one has an image ready to resend to the customer. It does not charge anything.

Parameters

ParameterTypeRequiredDescription
limitintegerHow many receipts to list (5 by default)

Returns

{ receipts[] }

receipts = payment receipts with code, amount, currency, customer, order number, payment date, receipt page link and image link.

Resend a payment's receipt to the customer

Write

tilopay_send_receipt

Prepares resending a payment's receipt over WhatsApp: it returns a wa.me link with the message and the receipt image ready. If no code is given, it uses the most recent receipt. Use send_now only if the user asks for it to be sent directly.

Parameters

ParameterTypeRequiredDescription
codestringReceipt code (8 characters)
contact_namestringName of the saved contact or of the customer
phonestringWhatsApp phone, e.g. +50688887777
messagestringYour own text to go along with the receipt
save_contactbooleanSave the contact in the address book
send_nowbooleantrue sends the receipt directly to the customer; by default the wa.me link is delivered

Returns

{ sent | code, page_url, image_url, whatsapp_url }

Resends the receipt to the customer over WhatsApp: it returns the receipt code, its page link, the image link and, when not sent directly, the wa.me link ready to open.

Last verified: 2026-09-14 · Owner: equipo-integraciones

View as raw Markdown