Get All Tender Types

Returns a paginated list of the tender (payment) types configured for a location, including whether each allows tips.

HeaderRequiredDescription
AuthorizationYesBearer YOUR_ACCESS_TOKEN

Request Parameters

Path Parameters:

ParameterTypeRequiredDescription
location_idintegerYesLocation whose tenders are listed.

Query Parameters:

ParameterTypeRequiredDescription
statusintegerNoFilter by status (1 = active).
user_idintegerYesThe acting user.
limitintegerNoPage size.
paginatestringNoPagination mode.
pageintegerNoPage number.
global_on_idintegerNoOriginating channel identifier.

cURL Example

curl --request GET \
  --url "https://sandbox-api.softpoint.io/interface/v1/locations/3000324/tenders?status=1&user_id=1&limit=10&paginate=data&page=1&global_on_id=2" \
  --header "Authorization: Bearer YOUR_ACCESS_TOKEN"

Success Response

A HAL-style envelope; tenders are under _embedded.tenders (abridged here).

{
  "_links": { "self": { "href": ".../tenders?page=1" } },
  "_embedded": {
    "tenders": [
      {
        "id": 2820,
        "status": 1,
        "location_id": 3000324,
        "name": "American Express",
        "allows_tips": 1,
        "pos_payments": 0,
        "_embedded": { "global_type": { "id": 1, "name": "American Express", "code_id": 1, "status": 1 } }
      },
      {
        "id": 2824,
        "status": 1,
        "location_id": 3000324,
        "name": "Visa",
        "allows_tips": 1,
        "_embedded": { "global_type": { "id": 10, "name": "Visa", "code_id": 1, "status": 1 } }
      }
    ]
  }
}

Response Fields

FieldTypeDescription
_linksobjectHAL pagination links.
_embedded.tendersarrayTender records.
tenders[].idintegerTender ID.
tenders[].statusintegerStatus.
tenders[].location_idintegerOwning location.
tenders[].namestringTender name.
tenders[].allows_tipsinteger1 if tips are permitted on this tender.
tenders[].pos_paymentsintegerWhether the tender is used for POS payments.
tenders[]._embedded.global_typeobjectThe global tender type this maps to.

Status Codes

CodeDescription
200Tenders returned
401Token missing or invalid

Workflow Placement

A reference read used to determine accepted payment methods at a location.

Notes

  • allows_tips indicates whether tip addition is valid for the tender.

Common Mistakes

  • Looking for results under data instead of _embedded.tenders.
Query Params
integer
integer
integer
string
integer
integer
Headers
string
Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain