post
https://apiv2.monitpay.com/v1/user
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Sandbox Test Identity
In sandbox, you can register a user without a real identity card (KTP). Use one of the test identities below and Monit will skip the identity image check.
| Field | Value |
|---|---|
| identity_number | Any number from 9999010101900001 to 9999010101900010 |
| first_name + last_name | Sandbox Test User (case-insensitive, you can split it between first_name and last_name freely, e.g. Sandbox + Test User) |
| identity_image | Any valid JPEG or PNG image, encoded using Base64 with maximum size 2 mb |
Note
- Identity number must be unique in your organization, so each test identity number can be used by one user. You can have up to 10 test users.
- birth_date and birth_place are not compared with the identity image, but they still follow the usual format rules.
- Test identities only work in sandbox. In production, they are checked like any other identity and will be rejected.
Error Codes
- API_VALIDATION_ERROR : Format error, please check the details field from response.
- DUPLICATE_USER : User already exists, please check email, mobile or identity number and contact Monit support for the details.
- INVALID_REQUEST : General error such as invalid postal code etc. Please check the details field from response.
- IDENTITY_MISMATCH : Identity image mismatch with other fields. Please check the details field from response.
- REJECTED_BY_BANK : The request has been rejected by the bank due to various reasons, including potential fraud or policy violations. Please contact Monit support for the details.
