Retrieve Payment Method List

Path Params
string
required

The customer associated to the payment method.

Query Params
int64

The start date for the search, specified as a Unix timestamp. This applies to the payment method creation date.

int64

The end date for the search, specified as a Unix timestamp. This applies to the payment method creation date.

int32
Defaults to 10

The number of records to retrieve. If not provided it defaults to 10.

int32
Defaults to 1

The page to retrieve based on the limit parameter provided. If not provided it defaults to 1.

string

Search by last4.

order_by
array of strings
Defaults to created:desc

The parameters and the directions to sort by. Parameters allowed: created, card.last4, usBankAccount.last4. E.g. created:desc

order_by
expand
array of strings

Parameters to expand in the response. Allowed parameters: invoicesettings.defaultpaymentmethod.

expand
Headers
string

Specifies the account for which the Payment Method list retrieval is intended. This is used for scenarios where one partner processes payments on behalf of another partner, such as in PayFac or related partner relationships.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json