Skip to content
Businesses

Set Business Onboarding Status

POST/api/businesses/{businessId}/set-onboarding-status

This endpoint allows you to set the onboarding status of a Business.

Path parameters

  • businessIdrequired string
    The Business id.

Request body

  • onboardingStatusrequired enum
    The onboarding status of the Business.
    • active
      Identifies businesses that have been activated for Centrapay services successfully (i.e. they have successfully created a Payment Request).
    • applied
      Identifies businesses that have registered to be activated for the Centrapay service.
    • archived
      Identifies businesses that have been removed from the Centrapay service.
    • deactivated
      Identifies businesses that have been de-registered for the Centrapay service.

      Allowed Reasons: data-quality-issues, change-of-ownership, centrapay-discontinued, duplicate, blocked, lapsed

    • on-hold
      Identifies businesses that have been placed on hold.

      Allowed Reasons: seasonal-business-closure, no-response

    • provisioning
      Identifies businesses that are in the process of being activated for the Centrapay service.
  • onboardingStatusReasonoptional enum
    The reason for the Business's onboarding status.
    • blocked
      The business has been blocked from using Centrapay.
    • centrapay-discontinued
      The business is no longer using Centrapay.
    • change-of-ownership
      The business has changed ownership.
    • data-quality-issues
      Data quality issues are preventing the business from onboarding.
    • duplicate
      The business already exists in the Centrapay system.
    • lapsed
      The business's Centrapay service has lapsed.
    • no-response
      No response has been received from the business.
    • seasonal-business-closure
      The business has closed temporarily.

Responses

Request
curl -X POST https://service.centrapay.com/api/businesses/DKTs3U38hdhfEqwF1JKoT2/set-onboarding-status \
-H 'content-type: application/json' \
-H 'x-api-key: <TOKEN>' \
-d '{
"onboardingStatus": "deactivated",
"onboardingStatusReason": "change-of-ownership"
}'