FCHubFCHub.co

Update subscription payment method

Update the payment method for a subscription.

POST
/customer-profile/subscriptions/{subscription_uuid}/update-payment-method

Authorization

cookieAuth
wordpress_logged_in<token>

WordPress cookie authentication for same-origin requests. Requires a valid nonce passed via X-WP-Nonce header.

In: cookie

Path Parameters

subscription_uuid*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://your-site.com/wp-json/fluent-cart/v2/customer-profile/subscriptions/string/update-payment-method" \  -H "Content-Type: application/json" \  -d '{}'
{}