v1

latestOpenAPI 3.0.02026-07-244074117.0 KB
Customers

List customer's payment methods

Lists a customer's payment methods.

A linkToken is required in the HTTP Header Slope-Link-Token in addition to the regular auth headers, see Link Flow.

get/v4/customers/{customerId}/payment-methods

Path parameters

customerIdstring required

The Slope customer ID or the partner external customer ID

Query parameters

limitinteger

The maximum number of objects to list.

orderBystring[]

The object attribute(s) to sort by.

order'asc' | 'desc'

The direction to sort by, one of asc or desc.

beforeCursorstring

The cursor used to fetch the previous page of objects.

afterCursorstring

The cursor used to fetch the next page of objects.

Headers

Slope-Link-Tokenstring

The link token generated when the customer granted you access to their Slope account.

Response

The paginated list of payment methods.