Skip to main content
POST
/
v1
/
setups
/
revoke
Revoke setup (deprecated)
curl --request POST \
  --url https://connect.pennylane.com/api/partners/v1/setups/revoke \
  --header 'Content-Type: application/json' \
  --header 'authorization: <authorization>' \
  --data '{
  "partnerAccountId": "<string>",
  "secondaryPartnerRef": "EASYBEER"
}'
{
  "flow": "API_KEY",
  "redirectTo": "<string>"
}

Headers

authorization
string
required

The partner token (provided by us, contact [email protected]). The token is associated to a specific environment (production or sandbox).

Body

application/json

Body

partnerAccountId
string
required

The partner account id

secondaryPartnerRef
enum<string>

Also revoke the connection to this partner

Available options:
EASYBEER,
AMAZON,
AMAZONSELLER,
AXONAUT,
HARVEST,
HUBSPOT,
PENNYLANE,
ZOHO,
CHARGEBEE,
SELLSY,
VOSFACTURES,
FACTOMOS,
BOONDMANAGER,
TEAMLEADER,
CHORUSPRO,
DOLIBARR,
PROGBAT,
EVOLIZ,
RECURLY,
KARLIA,
PIPEDRIVE,
SHOPIFY,
ODOO,
LAGO,
SALESFORCE,
HYPERLINE,
RENTMAN,
SPENDESK,
WEEBATI,
PROABONO,
WOOCOMMERCE,
PRESTASHOP,
MAGENTO,
SQUARESPACE,
BIGCOMMERCE,
SYLIUS,
ORGANILOG,
XERO,
ZETTLE,
SUMUP,
METRO,
VSA

Response

  • Option 1
  • Option 2

Successful revocation response

flow
enum<string>
required
Available options:
API_KEY
redirectTo
string
required

The URL to redirect the browser of the user to. This will create a session for the user and redirect him to the setup page.

I