Create a cash up period
Returns a reference that marks the end of the current transaction period and the start of a new one. The reference can be used to retrieve all the payments that were successfully completed in the associated period.
HTTP request
POST https://pos.snapscan.io/merchant/api/v1/cash_upscurl -u your-api-key: -X POST "https://pos.snapscan.io/merchant/api/v1/cash_ups"The above command returns JSON structured like this:
HTTP/1.1 200 OK
Content-Type: application/json
{
"date": "1999-12-31T23:00:00Z",
"reference": "1e07ac748d2627ba"
}Response codes
| Description | Description | JSON Response |
|---|---|---|
| OK | 200 | A cash up object |