FCHubFCHub.co

Switch subscription payment method

Switch the payment method for a subscription to a different provider.

POST
/customer-profile/subscriptions/{subscription_uuid}/switch-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/switch-payment-method" \  -H "Content-Type: application/json" \  -d '{}'
{}