Logo sunbit

Please enter the password to view.

Onboarding Status

Overview

Sunbit’s webhooks can send you real-time updates on practice onboarding applications. You can use this to send simple communications to your practices or trigger other onboarding workflows.

The following events are currently available:

  • Created
  • Location details added
  • Contact details added
  • Bank info added
  • Legal info added
  • Submitted
  • Activated
  • Declined

Body

{  "eventType": "MERCHANT_CREATED",  "payload": {    "location": "retailer",    "url": "merchant/application/url",    "statusReason": "NONE"  }}

Definitions

Attribute Type Description
eventType text The list of possible statuses includes

  • MERCHANT_CREATED
  • MERCHANT_LOCATION_DETAILS_ADDED
  • MERCHANT_CONTACT_DETAILS_ADDED
  • MERCHANT_BANK_INFORMATION_ADDED
  • MERCHANT_SUBMITTED
  • MERCHANT_LEGAL_INFORMATION_ADDED
  • MERCHANT_ACTIVATED
  • MERCHANT_DECLINED
location text The same Location which was sent in the API
url text Merchant application URL
statusReason text In case of status DECLINED it will state the reason of decline in human readable form, otherwise “NONE”