Skip to content

elements_receipt

Francisco Dias edited this page Aug 20, 2026 · 1 revision

Receipt

The Receipt endpoints.

Functions

This module offers a collection of functions designed to address specific tasks and provide utilities for various purposes. Explore the available functions to make the most of the functionalities provided by this module.



Back To Top

elements_create_receipt

Creates a new Receipt record.

This function operates asynchronously, which means that it does not immediately return the requested result. Instead, upon completion of the task, it will trigger the Callback.


Syntax:

elements_create_receipt(_body=undefined, _callback=undefined)
Argument Type Description
_body ElementsCreateReceiptRequest The body to be included in the http request.
_callback Function Callback with signature (status, data, request).

Returns:

N/A


Triggers:

Callback

Key Type Description
_status Real
_data ElementsReceipt or Undefined
_request ElementsRequest


Back To Top

elements_delete_receipt

Deletes and permanently removes the Receipt from the server.

This function operates asynchronously, which means that it does not immediately return the requested result. Instead, upon completion of the task, it will trigger the Callback.


Syntax:

elements_delete_receipt(_id, _callback=undefined)
Argument Type Description
_id String
_callback Function Callback with signature (status, data, request).

Returns:

N/A


Triggers:

Callback

Key Type Description
_status Real
_data Any
_request ElementsRequest


Back To Top

elements_get_receipt

Gets a Receipt using the database id provided in the URL path.

This function operates asynchronously, which means that it does not immediately return the requested result. Instead, upon completion of the task, it will trigger the Callback.


Syntax:

elements_get_receipt(_id, _callback=undefined)
Argument Type Description
_id String
_callback Function Callback with signature (status, data, request).

Returns:

N/A


Triggers:

Callback

Key Type Description
_status Real
_data ElementsReceipt or Undefined
_request ElementsRequest


Back To Top

elements_get_receipts

Retrieves a pagination of Receipt objects for the given user (SUPERUSER level), or the current user (USER level).Can search by originalTransactionId or scheme.

This function operates asynchronously, which means that it does not immediately return the requested result. Instead, upon completion of the task, it will trigger the Callback.


Syntax:

elements_get_receipts(_user_id=undefined, _offset=undefined, _count=undefined, _search=undefined, _callback=undefined)
Argument Type Description
_user_id String
_offset Real
_count Real
_search String
_callback Function Callback with signature (status, data, request).

Returns:

N/A


Triggers:

Callback

Key Type Description
_status Real
_data ElementsPaginationReceipt or Undefined
_request ElementsRequest


Clone this wiki locally