Skip to main content
POST
/
api
/
public
/
v1
/
subscriptions
/
change-processor
curl --request POST \
--url https://app.tagadapay.com/api/public/v1/subscriptions/change-processor \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"subscriptionId": "sub_123",
"processorId": "proc_stripe"
}'
{
  "subscription": {
    "id": "sub_123",
    "preferredProcessorId": "proc_stripe",
    "updatedAt": "2024-03-20T10:30:00Z"
  }
}

Authorizations

Authorization
string
header
required

Enter your API key as: Bearer your-api-key

Body

application/json
subscriptionId
string
required
processorId
string

Response

Successful response

The response is of type any.