SmakeSmake API Docs
EndpointsPayment Methods

List Payment Methods

GET
/payment-methods

The endpoint lists all available payment methods that can be transferred in the endpoint orders.

List

Returns a collection of payment methods.

Filtering

You can filter your results as follows:

List payment methods for specified id(s)
  • /payment-methods?filter[id]=1
  • /payment-methods?filter[id]=1,2,3
List payment methods for specified name(s)
  • /payment-methods?filter[name]=Invoice
  • /payment-methods?filter[name]=Invoice,Credit Card
List payment methods for specified handle(s)
  • /payment-methods?filter[handle]=invoice
  • /payment-methods?filter[handle]=invoice,credit-card

Info: See: Pagination, Filtering

AuthorizationBearer
AuthorizationBearer <token>

In: header

Query Parameters

filter[id]?string

List payment methods for specified id(s). Several values are separated by comma, e.g. filter[id]=1,2,3.

filter[name]?string

List payment methods for specified name(s) (translated name, partial match). Several values are separated by comma, e.g. filter[name]=Invoice,Credit Card.

filter[handle]?string

List payment methods for specified handle(s). Several values are separated by comma, e.g. filter[handle]=invoice,credit-card.

page?integer

Page number to return — see Basic Usage → Pagination.

per_page?integer

Number of objects per page (default 25, maximum 100) — see Basic Usage → Pagination.

Header Parameters

X-Api-Version?string

Response Body

application/json

application/json

Request example
curl -X GET "https://example.com/payment-methods?filter%5Bid%5D=1&filter%5Bname%5D=invoice&filter%5Bhandle%5D=invoice&page=1&per_page=25" \  -H "X-Api-Version: 2022-02-01"
{  "data": [    {      "id": 1,      "name": "Invoice",      "handle": "invoice",      "created_at": "2026-04-08T05:58:16+00:00",      "updated_at": "2026-04-08T05:58:16+00:00"    }  ],  "links": {    "first": "https://api.smake.io/v2/apps/1/payment-methods?per_page=3&page=1",    "last": null,    "prev": null,    "next": null  },  "meta": {    "current_page": 1,    "current_page_url": "https://api.smake.io/v2/apps/1/payment-methods?per_page=3&page=1",    "from": 1,    "path": "https://api.smake.io/v2/apps/1/payment-methods",    "per_page": 3,    "to": 1  }}