Retrieve payment method
Changed onRetrieves a saved payment method from a member's wallet when you pass member_id or account_id, or from your own otherwise.
Required permissions:
- member:payment_methods:read
Request
- Base URLhttps://api.whop.com/api/v1
- AuthHTTP bearer
Path parameters
The unique identifier of the payment method.
Query parameters
The unique identifier of the member. Provide either this or account_id, not both. Omit both to address your own saved payment methods.
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
A saved payment method with no type-specific details available.
A saved card payment method, including brand, last four digits, and expiration details.
A saved US bank account payment method, including bank name, last four digits, and account type.
A saved Cash App payment method, including the buyer's cashtag and unique identifier.
A saved iDEAL payment method, including the customer's bank name and BIC code.
A saved SEPA Direct Debit payment method, including the bank code, country, and last four IBAN digits.
Example response
{
"created_at": "2023-12-01T05:00:00.401Z",
"id": "payt_xxxxxxxxxxxxx",
"payment_method_type": "acss_debit"
}Changes
- warning
added the new
bizumenum value to theoneOf[subschema #1: BasePaymentMethod]/payment_method_typeresponse property for the response status - warning
added the new
bizumenum value to theoneOf[subschema #2: CardPaymentMethod]/payment_method_typeresponse property for the response status - warning
added the new
bizumenum value to theoneOf[subschema #3: UsBankAccountPaymentMethod]/payment_method_typeresponse property for the response status
3 more changes in this revision
- warning