In order to create a new peruvian account, you will need to send the mexican digital certificate as an additional field, as this is a requirement to issue electronic invoices. Remember to get the token from the /auth endpoint first.

Endpoint: https://api.userow.com/billing/V1/accounts

  • Method: POST
  • Required headers:
    • Content-Type: application/json
    • Authorization: Bearer <token>
    • Accept: */*
{
    "country_id": 83,
    "contact_name": "fernando rojas",
    "contact_phone": "+51999888777",
    "admin_email": "test@company.com",
    "admin_password": "enternewpassword",
    "registration_legal_name_company": "my company",
    "registration_tax_id_code": "12345678901",
    "registration_tax_id_type": "PE-RUC",
    "registration_company_size": 1,
    "registration_company_industry_sector": "1",
    "registration_type_use": 1,
    "registration_terms_of_use": 1
}