cURL
curl --request GET \ --url https://api.splose.com/v1/payment-methods \ --header 'Authorization: Bearer <token>'
{ "data": [ { "id": 1, "name": "<string>", "description": "<string>", "xeroAccountCode": "<string>" } ], "links": { "previousPage": "/v1/${object_type}?id_gt=200", "nextPage": "/v1/${object_type}?id_lt=100" } }
Get a paged array of payment-methods
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The starting object id of the next page
200
The starting object id of the previous page
100
A paged array of payment-methods
Show child attributes
Payment method id
x > 0
1
Payment method name
Payment method description
Xero account code
The link to retrieve next page
"/v1/${object_type}?id_gt=200"
The link to retrieve previous page
"/v1/${object_type}?id_lt=100"