Examples by country
➕ Create a new account
To create a new Argentine account, you must send both the CUIT, the digital certificate (.crt), and its private key (.key) as additional fields, which can be obtained from the AFIP (ARCA) website. Remember to first obtain the token from the /auth endpoint.
The certificate_cer (.cer) and certificate_key (.key) must be Base64-encoded files. Example page to convert PDF to base64: https://base64.guru/converter/encode/pdf
The field company_logo only supports PNG format and must be uploaded as base64.
Create account
- Endpoint: https://api-billing.koywe.com/V1/accounts
- Method: POST
- Required headers:
- Content-Type: application/json
- Authorization: Bearer \<token>
- Accept: /
{
"country_id": 88,
"contact_name": "empresa test",
"contact_phone": "+5492644564738",
"admin_email": "[email protected]",
"admin_password": "nuevaclave",
"registration_legal_name_company": "my company",
"registration_tax_id_code": "30274688781",
"registration_tax_id_type": "AR-CUIT",
"registration_company_size": 1,
"registration_company_industry_sector": "1",
"registration_type_use": 1,
"registration_terms_of_use": 1,
"registration_additional_data": {
"certificate_cer": "MIIZhQIBAzCCGU8GCSqGSIb3DQE...",
"certificate_key": "7d800b3dc1eb5fcd6"
}
}
API Reference POST /accounts
Detailed endpoint documentation