Skip to content

Change the method a monthly gift charges​

PATCH
/me/monthly-gifts/{id}

Pays one of the caller's live church or non-profit monthly gifts with
another of their saved methods, from its next payment: the gift's
Stripe subscription takes the method as its default. Choosing the
method it already charges changes nothing. The method must be a live
method of the caller, not an expired card, and on the same Stripe
customer as the gift's subscription.

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

id*

The monthly gift's id (MonthlyGiftSummary.id).

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"paymentMethodId": "string"
}

Responses​

The gift, with its method.

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

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​

Powered by VitePress OpenAPI

Built with VitePress