Skip to content
Merchants

Set Merchant Onboarding Status

POST/api/merchants/{merchantId}/set-onboarding-status

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

Path parameters

  • merchantIdrequired string
    The Merchant id.

Request body

  • onboardingStatusrequired enum
    The onboarding status of the Merchant.
    • active
      Identifies merchants that have been activated for Centrapay services successfully (i.e. they have successfully created a Payment Request).
    • applied
      Identifies merchants that have registered to be activated for the Centrapay service.
    • archived
      Identifies merchants that have been archived. Archived merchants are not returned when listing Merchants.

      Allowed Reasons: duplicate, data-quality-issues, change-of-ownership, centrapay-discontinued-opt-out, blocked, company-closed, tid-cancelled

    • deactivated
      Identifies merchants that have been de-registered for the Centrapay service.

      Allowed Reasons: duplicate, data-quality-issues, change-of-ownership, centrapay-discontinued-opt-out, blocked, company-closed, tid-cancelled

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

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

    • provisioning
      Identifies merchants that are in the process of being activated for the Centrapay service.
  • onboardingStatusReasonoptional enum
    The reason for the Merchant's onboarding status.
    • blocked
      The merchant has been blocked.
    • centrapay-discontinued-opt-out
      The merchant or partner has requested cancellation of Centrapay.
    • change-of-ownership
      The merchant has changed ownership.
    • company-closed
      The merchant's business has closed.
    • data-quality-issues
      Data quality issues are preventing the merchant from onboarding.
    • duplicate
      The merchant already exists in the Centrapay system.
    • incompatible-terminal
      The merchant does not have any compatible terminals.
    • no-response
      No response has been received from the merchant.
    • seasonal-business-closure
      The merchant has closed temporarily.
    • tid-cancelled
      The merchant's terminal has been cancelled.

Responses

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