Companies

When you use our API you will most likely be assigned a companyId. This companyId will be necessary for most operations in the API as anything you read or create will be inside the scope of your company.

Retry company wallet creation

patch

Retries companies wallet creation

Authorizations
x-w3block-api-keystringRequired

W3block API key

Path parameters
companyIdstringRequired
Responses
200Success

No content

patch
/companies/{companyId}/setup

No content

Get company details

get

Get company by company id

Authorizations
x-w3block-api-keystringRequired

W3block API key

Path parameters
companyIdstringRequired
Responses
200Success
application/json
get
/companies/{companyId}

Emails

As a company you can create personalized emails for certain actions, there are 3 kinds of emails that are sent from this application and they can all be customized, they are:

  • successTransferEmail

  • completeAccountEmail

  • ecommerceProcessingOrderEmail

Another thing that also appears on your email is your company logo, this must be set up using the ID Application

Get company's emails

get

Get email templates by company id

Authorizations
x-w3block-api-keystringRequired

W3block API key

Path parameters
companyIdstringRequired
Responses
get
/companies/{companyId}/emails
401

Need user with one of these roles: superAdmin, admin

No content

Post a new email custumization

post

Creates a new email template for a company

Authorizations
x-w3block-api-keystringRequired

W3block API key

Path parameters
companyIdstringRequired
Body
triggerstring Β· enumRequiredPossible values:
subjectstringRequired
greetingTextobjectOptional
templatestringRequired
Responses
post
/companies/{companyId}/emails
401

Need user with one of these roles: superAdmin, admin

No content

Last updated