Payment methods

Retrieve payment method

Changed on

Retrieves 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
get/payment_methods/{id}

Request

  • Base URL: https://api.whop.com/api/v1
  • URL: https://api.whop.com/api/v1/payment_methods/{id}
  • Auth: HTTP bearer

Path parameters

idstring required
Example:payt_xxxxxxxxxxxxx

The unique identifier of the payment method.

Query parameters

member_idstring

The unique identifier of the member. Provide either this or account_id, not both. Omit both to address your own saved payment methods.

Example:mber_xxxxxxxxxxxxx
account_idstring

The unique identifier of the company. Provide either this or member_id, not both. Omit both to address your own saved payment methods.

Example:biz_xxxxxxxxxxxxxx

Response

A successful response

OR
OR
OR
OR
OR

Example response

{
  "created_at": "2023-12-01T05:00:00.401Z",
  "id": "payt_xxxxxxxxxxxxx",
  "payment_method_type": "acss_debit"
}

Changes

    • warning

      added the new payto_bank_account enum value to the / response property for the response status

    • warning

      added the new payto_bank_account enum value to the / response property for the response status

    • warning

      added the new payto_bank_account enum value to the / response property for the response status

    • warning

      added the new payto_bank_account enum value to the / response property for the response status

    • warning

      added the new payto_bank_account enum value to the / response property for the response status

    • warning

      added the new payto_bank_account enum value to the / response property for the response status

    • warning

      added the new payto_email enum value to the / response property for the response status

    • warning

      added the new payto_email enum value to the / response property for the response status

    • warning

      added the new payto_email enum value to the / response property for the response status

    • warning

      added the new payto_email enum value to the / response property for the response status

    • warning

      added the new payto_email enum value to the / response property for the response status

    • warning

      added the new payto_email enum value to the / response property for the response status

    • warning

      added the new payto_phone enum value to the / response property for the response status

    • warning

      added the new payto_phone enum value to the / response property for the response status

    • warning

      added the new payto_phone enum value to the / response property for the response status

    • warning

      added the new payto_phone enum value to the / response property for the response status

    • warning

      added the new payto_phone enum value to the / response property for the response status

    • warning

      added the new payto_phone enum value to the / response property for the response status

    • warning

      added the new duitnow_qr enum value to the / response property for the response status

    • warning

      added the new duitnow_qr enum value to the / response property for the response status

    • warning

      added the new duitnow_qr enum value to the / response property for the response status

    • warning

      added the new duitnow_qr enum value to the / response property for the response status

    • warning

      added the new duitnow_qr enum value to the / response property for the response status

    • warning

      added the new duitnow_qr enum value to the / response property for the response status