➕ Create a new account
In order to create a new mexican 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.
The certificate_key, certificate_cer must be in DER binary format, encoded as base64. Example page to convert DER to base64: https://base64.guru/converter/encode/file You must complete the certificate_password that corresponds to the uploaded certificate. The field company_logo only supports PNG format and must be uploaded as base64.
🚧 Prerequisite: If you want to try creating accounts, you’ll need a real digital certificate, which you can purchase from us or use the one you already have.
Endpoint: https://api-billing.koywe.com/V1/accounts
- Method: POST
- Required headers:
- Content-Type: application/json
- Authorization: Bearer <token>
- Accept: */*