Skip to content

List Location payment methods

Request

Returns the payment methods configured for the Location (cash, cards, Pix, custom methods) with the default cash account, processing fee, card brands and installment rates. Built-in methods have a slug; custom methods have slug: null.

Available only for Locations with the payment methods and fees settings enabled; otherwise the request returns 403. The Business User needs access to the Location.

Security
BearerPartnerUser
Path
location_idintegerrequired

Location ID

Example:4564
Headers
Acceptstringrequired
Default:"application/vnd.api.v2+json"
Content-Typestringrequired
Default:"application/json"
Authorizationstringrequired

Bearer {partner_token}, User {user_token}

curl -i -X GET \
  https://developer.alteg.io/_mock/en/b2b-v1/openapi/locations/4564/payment_methods \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: application/json'

Responses

OK

Bodyapplication/json
successboolean
dataobject
metaArray of any
Response
{ "success": true, "data": { "payment_methods": [ … ] }, "meta": [] }