GET
/
payment-methods

This endpoint requires the payment-methods.read scope.

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

buyer_id
string

Filters the results to only the items for which the buyer has an id that matches this value.

buyer_external_identifier
string

Filters the results to only the items for which the buyer has an external_identifier that matches this value.

status
enum<string>[]

Filters the results to only the payment methods for which the status matches with any of the provided status values.

Available options:
processing,
buyer_approval_required,
succeeded,
failed
external_identifier
string

Filters the results to only the items for which the resource has an external_identifier that matches this value.

limit
integer
default: 20

Defines the maximum number of items to return for this request.

cursor
string

A cursor that identifies the page of results to return. This is used to paginate the results of this API.

For the first page of results, this parameter can be left out. For additional pages, use the value returned by the API in the next_cursor field. Similarly the previous_cursor can be used to reverse backwards in the list.

Response

200 - application/json

A list of stored payment methods.

items
object[]

A list of stored payment methods.

limit
integer
default: 20

The limit applied to request. This represents the number of items that are at maximum returned by this request.

next_cursor
string | null

The cursor that represents the next page of results. Use the cursor query parameter to fetch this page of items.

previous_cursor
string | null

The cursor that represents the next page of results. Use the cursor query parameter to fetch this page of items.