Skip to content

Change the method my community dues charge​

PATCH
/me/community-memberships/{membershipId}

Pays one of the caller's paid community memberships with another of
their saved methods. Dues pass the payment method's own fee through to
the member and nothing more, so when the new method is priced by
another rule (a US bank account in place of a card) the fee on the
coming invoices changes with it. Dues that were owed are paid with the
new method at once.

The method must be a live method of the caller, not an expired card,
and on the same Stripe customer as the membership; a US bank account
only where the membership already takes bank debits. A membership still
waiting for approval or for its first payment has no method to change
yet.

The caller's own signed-in session only.

Authorizations​

BearerAuth

In the browser, authentication rides on the httpOnly session cookies set by /cognito/signin or the Google / Apple sign-in at /cognito/oauth/{provider}. For scripts and for Swagger UI testing, paste an API key (fh_live_…, created with POST /api-keys); a Cognito JWT is accepted too. Sign-in does not return a token in its body.

Type
HTTP (bearer)

Parameters​

Path Parameters

membershipId*

The membership's id (GET /me/community-memberships, AccountDuesMembership.id).

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
"string"

Responses​

Changed. Read the membership again for its method.

application/json
JSON
{
"data": {
"payment": "string"
}
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​

Powered by VitePress OpenAPI

Built with VitePress