Cash Operations (Viacash)

List all cash operations for an account

Returns a paginated list of all associated with the customer account specified in the request URL.

get/v1/accounts/{account_id}/cash_operations

Path parameters

account_idstring required

ID of the account whose cash operations should be returned.

Query parameters

filter[status]'PENDING' | 'CREATED' | 'PAID' | 'EXPIRED' | 'CANCELLED'

Filter the results by the status of the cash operation.

page[number]integer

The number of results pages to return.

page[size]integer

The size of each page in the response.

Response

The operation was successful.

idstring

ID of the cash operation.

barcode_ean_13string

The EAN-13 barcode that your solution must generate so that the customer can present it at the merchant POS to complete the cash operation.

expires_atstring date-time

The date and time when the cash operation barcode expires.

status'PENDING' | 'CREATED' | 'PAID' | 'EXPIRED' | 'CANCELLED'

The current status of the cash operation.

reference_idstring

End-to-end reference for the customer.

person_idstring

ID of the person who initiated the cash operation.