comecerodocs

Sign up for an account

POST
/accounts

Creates a new Comecero account with its first user, who becomes the account owner. This is how someone signs up, so it needs no token. The response has a live trusted token for the owner, so they are signed in at once.

The new account is not live: it can take test payments right away, and Comecero sets live once the account is approved. Default settings, a test gateway and a shipping method for the account's country are created with it.

Request Body

application/json
  1. body

A new account and its first user, who becomes the account owner. The account's country is guessed from your IP address when you leave it out.

name*string

The owner's full name, at least 4 characters.

Length4 <= length <= 75
email*string

The owner's email address. It is also the first user's email.

Formatemail
Lengthlength <= 75
user_id*string

The first user's sign-in name: at least 5 characters of letters, numbers, underscores, dashes and periods.

Length5 <= length
password*string

The first user's password, at least 8 characters.

Formatpassword
Length8 <= length
company_name?string

The legal name of the company. It is also used as dba.

Lengthlength <= 75
website?string

The company website.

Lengthlength <= 75
support_email?string

The email address shoppers see for help.

Formatemail
Lengthlength <= 75
support_website?string

The support page shoppers see. Defaults to website.

Lengthlength <= 75
phone?string

A phone number.

Lengthlength <= 25
tax_number?string

The VAT or tax registration number.

Lengthlength <= 50
registration_number?string

The company registration number.

Lengthlength <= 50
logo_url?string

A public https URL of the logo.

Formaturi
Lengthlength <= 500
address_1?string

The first line of the address.

Lengthlength <= 75
address_2?string

The second line of the address.

Lengthlength <= 75
city?string

The city.

Lengthlength <= 75
state_prov?string

The state or province.

Lengthlength <= 75
postal_code?string

The postal code.

Lengthlength <= 75
country?string

The country, as an ISO 3166-1 alpha-2 code.

signup_terms_version?string

The version of the Comecero terms of service and privacy policy the person accepted, up to 50 characters. Saved with the time.

Lengthlength <= 50

Response Body

The new account, with a trusted token for its owner.

application/json
  1. response

Your Comecero account: your company details, the contact details shoppers see, and whether the account may take live payments. One account holds both your test and your live data.

object?"account"

The object type. Always account.

Value in"account"
url?string

The URL of this account.

Formaturi
account_id?string

The account ID, two letters and four digits.

alias?|

A short name for the account that users may sign in with instead of the account ID. It is also the start of your sign-in page address.

date_created?string

When the account was created.

Formatdate-time
date_modified?string

When the account was last changed.

Formatdate-time
company_name?|

The legal name of your company.

Lengthlength <= 75
dba?|

The name you trade under, if it differs from company_name.

Lengthlength <= 75
name?|

The full name of the main contact.

Lengthlength <= 75
email?|

The main contact's email address.

Formatemail
Lengthlength <= 75
website?|

Your website. https:// is added when you leave out the protocol.

Lengthlength <= 75
phone?|

Your phone number.

Lengthlength <= 25
tax_number?|

Your VAT or tax registration number, printed on invoices. In the EU an invoice needs it.

Lengthlength <= 50
registration_number?|

Your company registration number.

Lengthlength <= 50
logo_url?|

A public https URL of your logo, used on invoices and emails. Up to 500 characters.

Formaturi
Lengthlength <= 500
address_1?|

The first line of your address.

Lengthlength <= 75
address_2?|

The second line of your address.

Lengthlength <= 75
city?|

Your city.

Lengthlength <= 75
state_prov?|

Your state or province. For the US and Canada, the standard two-letter code.

Lengthlength <= 75
postal_code?|

Your postal code.

Lengthlength <= 75
country?|

Your country, as an ISO 3166-1 alpha-2 code.

support_email?|

The email address shoppers see for help. Null when you want none shown on your shop.

Formatemail
Lengthlength <= 75
support_website?|

The support page shoppers see. When it is empty, website is used.

Lengthlength <= 75
live?boolean

True when the account may take live payments. New accounts start with false and Comecero sets it once the account is approved.

closed?boolean

True when the account has been closed.

date_closed?|

When the account was closed. Null for an open account.

Formatdate-time
account_meta?|

The account's meta details, as a URL, or the object when you send expand=account_meta.

token?string

A live trusted token for the account owner, so they are signed in at once. Only in the response to POST /accounts.

formatted?

Display text for dates and the country. Only present when you send formatted=true.

curl -X POST 'https://api.comecero.com/api/v1/accounts' \  -H 'Content-Type: application/json' \  -d '{  "name": "John Doe",  "email": "john@example.com",  "user_id": "john.doe",  "password": "correct-horse-battery"}'
Example Response
{  "object": "account",  "url": "https://api.comecero.com/api/v1/accounts/AB1234",  "account_id": "AB1234",  "alias": "example-software-ltd",  "date_created": "2026-11-07T14:36:52Z",  "date_modified": "2026-11-07T14:36:52Z",  "company_name": "Example Software Ltd",  "dba": "Example Software Ltd",  "name": "John Doe",  "email": "john@example.com",  "website": "https://www.example.com",  "phone": null,  "tax_number": null,  "registration_number": null,  "logo_url": null,  "address_1": null,  "address_2": null,  "city": null,  "state_prov": null,  "postal_code": null,  "country": "US",  "support_email": null,  "support_website": "https://www.example.com",  "live": false,  "closed": false,  "date_closed": null,  "token": "trusted.live.Ty5Qm8Rk2Lp9Wv3Xz7Bn4Cd1Fg6Hj0Sa8Ue2Io5Kl3Mq.1793887012.8c2f5a7b1d",  "account_meta": "https://api.comecero.com/api/v1/accounts/AB1234/account_meta"}