Admin Add Or Update UEN
Admin Add Or Update UEN.
Request
Request header:
POST https://api.ipaymy.com/v2/admin/uen
Host: api.ipaymy.com
Accept: application/json
Request body:
{
"regno": "",
"company_name": "",
"country_id": 0,
"is_production": true,
"force_update": true,
"multiple_account_allowed": true
}
regno:
- Type: string
- Validate: required
company_name:
- Type: string
- Validate: required
country_id:
- Type: number
- Validate: required
is_production:
- Type: boolean
- Validate: required
force_update:
- Type: boolean
- Validate: required
multiple_account_allowed:
- Type: boolean
- Validate: required
Response
Response body:
{
"data": "",
"error": 0
}
Response codes:
- 200: Good stuff, and the response body should be easy to parse.
- 422: Typically malformed JSON, such as an integer in place of the required alphanumeric string, or a missing key. Check the response body for further details.