Integrations
ADP Marketplace

Receive an ADP Marketplace subscription-cancel event

Changed on

Called by ADP Marketplace when a customer cancels their subscription.

Authentication

This endpoint requires the following token type:

  • Client credentials access token (OAuth2ClientCredentials) — obtained through the Client Credentials flow or the Refresh Token flow. See Authentication for partners.
get/v1/adp/subscription-cancellations

Request

  • Base URL
    https://gateway.remote.com
  • Auth
    OAuth 2
    Client credentials
    Token URL/auth/oauth2/token

Query parameters

eventUrl, string

URL ADP provides to fetch the event payload from. Absent for ADP's own connectivity/test calls, which are acked without a fetch. An address Remote already received for an order, change, cancel or notice event is acknowledged with the same success answer, without being fetched or applied again.

Response

ADP acknowledgement, success or error (always HTTP 200)

union required

The answer to an ADP Marketplace event: either the success acknowledgement or the error one.

AdpSubscriptionOrderSuccessAck required

The answer to ADP when the event was received. ADP's own connectivity test (a call without eventUrl) is answered with success only.

OR
AdpSubscriptionOrderErrorAck required

The answer to ADP when the event could not be fetched or processed. ADP requires HTTP 200 with this body, never a 4xx or 5xx.

Example response

{
  "accountIdentifier": "G3XZAJYHXEV6DH1N",
  "success": true
}

Changes

    • breaking

      added to the response body oneOf list for the response status

    • breaking

      the response's body type changed from object to no type for status

    • breaking

      removed the required property data from the response with the status

    2 more changes in this revision