Get alternative payment types

Returns an array of AlternatePaymentType objects containing information about alternative forms of payment that are configured for a restaurant. Alternate payment types are forms of payment that are not standard in the Toast POS and that are configured for a particular restaurant. For example, a third-party service that processes payments might be configured as an alternate payment type. If a lastModified date is specified, returns all objects that were created or modified after that date.

Request
query Parameters
lastModified
string <date>

Limits the return data to objects created or modified after a specific date and time. For example: 2015-12-01T00:00:00.000+0000.

page
integer

The sequence number of the first object to return in the array.

Deprecated. For more information, see Paginating response data.

pageSize
integer

The number of objects to return in the array.

Deprecated. For more information, see Paginating response data.

pageToken
string

A string that identifies the set of data objects that the endpoint will return in its response data. You can use this parameter to retrieve one page of response data. You get the value that you supply in the pageToken parameter from the Toast-Next-Page-Token header field value of a previous request to the endpoint. For more information, see Paginating response data.

header Parameters
Toast-Restaurant-External-ID
required
string

The Toast POS GUID of the restaurant that the configuration applies to.

Responses
200

Returns an array of AlternatePaymentType objects.

get/alternatePaymentTypes
Request samples
curl -i -X GET \
  'https://toast-api-server/config/v2/alternatePaymentTypes?lastModified=2019-08-24&page=0&pageSize=0&pageToken=string' \
  -H 'Toast-Restaurant-External-ID: string'
Response samples
application/json
[
  • {
    }
]