Carbon

Documentation

Welcome to Carbon's docs!

Get Started    

Create Merchant

The first step to merchant onboarding is creating a merchant. A merchant is also the same as a contact. However, for purposes of organization, we will keep the documentation under the merchant route.

Merchant Approval Required

You cannot create a merchant on production if you are not approved by Carbon. You can test on sandbox however.

Super JWT Required

Create a merchant

POST
let url = `${ROOT}/v1/merchant/create`;
let data = {
  emailAddress: "[email protected]",
  password: "StrongSecurePassword.12345!*",
  firstName: "Satoshi",
  lastName: "Nakatomoto",
  personalTaxId: "123-12-1234",
  companyName: "Cool Store Name, LLC",
  companyTaxId: "123-12-1234",
}

axios.post(url, data).then(result => console.log).catch(err => console.log);
{
  "message": "successfully created new merchant!",
  "details": {
    "merchantId": "857b7530-9ab0-4a2d-b786-f525d993a25a"
  }
}
// 401
{
  "message": "Super JWT Required",
  "code": 401
}

// 401
{
  "message": "Invalid JWT",
  "code": 401
}

Response

Response
Type
Description

merchantId

string

your merchantId is used to keep track of transactions

Thank you for your feedback

What's Next

Payments
History

Create Merchant


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.