List payment methods
Changed onReturns a paginated list of saved payment methods for a member or account, or for the authenticated user when you pass neither.
Required permissions:
- member:payment_methods:read
Request
- Base URL: https://api.whop.com/api/v1
- URL: https://api.whop.com/api/v1/payment_methods
- Auth: HTTP bearer
Query parameters
Returns the elements in the list that come after the specified cursor.
Returns the elements in the list that come before the specified cursor.
Returns the first n elements from the list.
Returns the last n elements from the list.
The unique identifier of the member to list payment methods for. Omit this and account_id to list your own saved payment methods.
The direction of the sort.
Only return payment methods created before this timestamp.
Only return payment methods created after this timestamp.
How a payment method will be charged after the buyer leaves — the same vocabulary as a confirmation token's setup_future_usage.
Only return payment methods of these types. Pass the eligible type values from the payment method types catalogue so the list holds nothing the purchase cannot take. An empty list returns no payment methods.
[ "acss_debit" ]
Only return cards on these networks, such as the networks the seller accepts. Payment methods that are not cards are unaffected.
Only return cards funded this way. A card whose funding could not be determined is excluded, and payment methods that are not cards are unaffected.
Filter cards by whether they carry the payer identity document their payment provider requires. Payment methods that are not cards are unaffected.
Filter by expiry. Only a card can expire, so false keeps every payment method that is not past its expiration month and true returns expired cards alone.
Filter by whether the stored credential has permanently stopped charging, such as a vault entry its provider closed.
The unique identifier of the company. Provide either this or member_id, not both. Omit both to address your own saved payment methods.
Response
A successful response
Example response
{
"data": [
{
"created_at": "2023-12-01T05:00:00.401Z",
"id": "payt_xxxxxxxxxxxxx",
"payment_method_type": "acss_debit"
}
]
}Changes
- warning
added the new
payto_bank_accountenum value to the///response property for the response status - warning
added the new
payto_bank_accountenum value to the///response property for the response status - warning
added the new
payto_bank_accountenum value to the///response property for the response status - warning
added the new
payto_bank_accountenum value to the///response property for the response status - warning
added the new
payto_bank_accountenum value to the///response property for the response status - warning
added the new
payto_bank_accountenum value to the///response property for the response status - warning
added the new
payto_emailenum value to the///response property for the response status - warning
added the new
payto_emailenum value to the///response property for the response status - warning
added the new
payto_emailenum value to the///response property for the response status - warning
added the new
payto_emailenum value to the///response property for the response status - warning
added the new
payto_emailenum value to the///response property for the response status - warning
added the new
payto_emailenum value to the///response property for the response status - warning
added the new
payto_phoneenum value to the///response property for the response status - warning
added the new
payto_phoneenum value to the///response property for the response status - warning
added the new
payto_phoneenum value to the///response property for the response status - warning
added the new
payto_phoneenum value to the///response property for the response status - warning
added the new
payto_phoneenum value to the///response property for the response status - warning
added the new
payto_phoneenum value to the///response property for the response status - info
added the enum value
payto_bank_accountto the propertyitems/of thequeryrequest parameterpayment_method_types - info
added the enum value
payto_emailto the propertyitems/of thequeryrequest parameterpayment_method_types - info
added the enum value
payto_phoneto the propertyitems/of thequeryrequest parameterpayment_method_types
- warning
- warning
added the new
duitnow_qrenum value to the///response property for the response status - warning
added the new
duitnow_qrenum value to the///response property for the response status - warning
added the new
duitnow_qrenum value to the///response property for the response status - warning
added the new
duitnow_qrenum value to the///response property for the response status - warning
added the new
duitnow_qrenum value to the///response property for the response status - warning
added the new
duitnow_qrenum value to the///response property for the response status - info
added the enum value
duitnow_qrto the propertyitems/of thequeryrequest parameterpayment_method_types
- warning