Skip to content
Accounts

Update Subscriptions

PUT/api/accounts/{accountId}/subscriptions

This endpoint allows you to update the subscriptions on an account.

Path parameters

  • accountIdrequired string
    The Account id.

Request body

  • subscriptionsrequired array of strings
    The list of subscriptions to assign to the account.

Responses

Request
curl -X PUT https://service.centrapay.com/api/accounts/Jaim1Cu1Q55uooxSens6yk/subscriptions \
-H 'content-type: application/json' \
-H 'x-api-key: <TOKEN>' \
-d '{
"subscriptions": [
"merchant"
]
}'