> For the complete documentation index, see [llms.txt](https://docs.pagsmile.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pagsmile.com/reference/remittance-api/business/onboarding/update-corporation.md).

# Update Corporate Merchant

{% hint style="info" %}
This endpoint updates an existing merchant. Include the identifiers returned by [Query Corporate Merchant](https://docs.pagsmile.com/remittance-api/business/onboarding/query-corporation), such as `merchant_id`, `corporation_id`, `address_id`, and `director_id`, in the corresponding objects.
{% endhint %}

**Endpoint**

`POST /remittance/merchant/update-corporation`

**Sandbox base URL:** `https://rem-api-sandbox.pagsmile.com`\
**Content-Type:** `application/json; charset=UTF-8`

The request uses the standard [Remittance API request envelope](https://docs.pagsmile.com/remittance-api/common). The tables below describe the decrypted `biz_data` object.

{% hint style="info" %}
**Requirement:** `M` = Mandatory, `O` = Optional, and `C` = Conditional. A conditional field is mandatory only when the condition stated in its description applies.
{% endhint %}

{% hint style="warning" %}
Submit all fields marked as required, even when only one part of the corporate profile has changed. Encrypt `biz_data` and populate `random_key` and `sign_type` according to the Common request specification.
{% endhint %}

**Request body**

**Merchant information**

| Field             | Type           | Requirement | Description                                                                                                                                                                                                                                                                                                 |
| ----------------- | -------------- | ----------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `merchant_id`     | long           | M           | Pagsmile-assigned unique identifier of the merchant.                                                                                                                                                                                                                                                        |
| `mobile`          | string(16)     | O           | <p>Mobile phone number of the merchant or primary contact.<br>Format: International number including the country calling code.</p>                                                                                                                                                                          |
| `email`           | string(80)     | M           | <p>Email address of the merchant or primary contact.<br>Format: Valid email address.</p>                                                                                                                                                                                                                    |
| `business_scenes` | list\<Integer> | M           | <p>List of integer codes identifying the merchant's business scenes.<br>Format: <code>List\<Integer></code>; submit one or more keys listed in <a href="https://docs.pagsmile.com/reference/remittance-api/data/dictionary-item/business-scenes">Business Scenes</a>.<br>Example: <code>\[1005]</code>.</p> |
| `website_url`     | string(128)    | O           | <p>Publicly accessible URL of the merchant's official website.<br>Format: URL; maximum 128 characters.</p>                                                                                                                                                                                                  |

**Corporation information**

| Field                              | Type        | Requirement | Description                                                                                                                                                                                                                                                                                                                |
| ---------------------------------- | ----------- | ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `corporation.corporation_id`       | long        | M           | Pagsmile-assigned unique identifier of the corporation record.                                                                                                                                                                                                                                                             |
| `corporation.registration_name`    | string(256) | M           | <p>Legal name exactly as shown on the official registration documents.<br>Supports UTF-8/Unicode characters.<br>No character-set restriction.<br>Maximum 256 bytes.</p>                                                                                                                                                    |
| `corporation.name_en`              | string(128) | M           | <p>English name used for bank account applications.<br>Format: <a href="https://docs.pagsmile.com/reference/remittance-api/data/dictionary-item/charsets">COMPANY\_NAME\_EN</a>; <code>^\[A-Za-z0-9]\[A-Za-z0-9 .,&'()"/-]\*$</code>.<br>The first character must be an English letter or digit.<br>Maximum 128 bytes.</p> |
| `corporation.industry_category`    | string      | M           | <p>Industry category of the corporation's primary business activity.<br>Format: String; submit one of the values listed in <a href="https://docs.pagsmile.com/reference/remittance-api/data/dictionary-item/industry-category">Industry Category</a>.</p>                                                                  |
| `corporation.registration_code`    | string(32)  | M           | <p>Official registration number issued to the corporation by the relevant registration authority.<br>Maximum length: 32 bytes.</p>                                                                                                                                                                                         |
| `corporation.registration_country` | string(2)   | M           | <p>Country in which the corporation is legally registered.<br>Format: Two-letter ISO 3166-1 alpha-2 country code.<br>See <a href="https://docs.pagsmile.com/reference/remittance-api/data/dictionary-item/country-code">Country Code</a> for supported values.</p>                                                         |

**Corporation registered address**

| Field                                           | Type          | Requirement | Description                                                                                                                                                                                                                                                        |
| ----------------------------------------------- | ------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `corporation.registration_address.address_id`   | long          | M           | Pagsmile-assigned unique identifier of the registered-address record to update.                                                                                                                                                                                    |
| `corporation.registration_address.line1`        | string(5–128) | M           | <p>Primary address line of the corporation's registered office, including the street name and building number.<br>Format: <a href="https://docs.pagsmile.com/reference/remittance-api/data/dictionary-item/charsets">ADDRESS</a>; 5–128 bytes.</p>                 |
| `corporation.registration_address.line2`        | string(5–128) | O           | <p>Additional registered-address information, such as the unit, suite, floor, or building name.<br>Format: <a href="https://docs.pagsmile.com/reference/remittance-api/data/dictionary-item/charsets">ADDRESS</a>; when provided, 5–128 bytes.</p>                 |
| `corporation.registration_address.postal_code`  | string(4-8)   | O           | <p>ZIP or postal code of the corporation's registered office.<br>Maximum length: 16 bytes.</p>                                                                                                                                                                     |
| `corporation.registration_address.city_name`    | string(50)    | M           | <p>City in which the corporation's registered office is located.<br>Format: <a href="https://docs.pagsmile.com/reference/remittance-api/data/dictionary-item/charsets">STATE\_CITY</a>; maximum 50 bytes.</p>                                                      |
| `corporation.registration_address.state`        | string(50)    | O           | <p>State, province, or administrative region of the corporation's registered office.<br>Format: <a href="https://docs.pagsmile.com/reference/remittance-api/data/dictionary-item/charsets">STATE\_CITY</a>; maximum 50 bytes.</p>                                  |
| `corporation.registration_address.country_code` | string(2)     | M           | <p>Country of the corporation's registered-office address.<br>Format: Two-letter ISO 3166-1 alpha-2 country code.<br>See <a href="https://docs.pagsmile.com/reference/remittance-api/data/dictionary-item/country-code">Country Code</a> for supported values.</p> |

**Director information**

| Field                  | Type         | Requirement | Description                                                                                                                                                                                                                                                 |
| ---------------------- | ------------ | ----------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `director.director_id` | long         | M           | Pagsmile-assigned unique identifier of the director record.                                                                                                                                                                                                 |
| `director.first_name`  | string(2–64) | M           | <p>Director's legal given name in English or Pinyin, corresponding to the name on the identity document used for verification.<br>Format: <code>^\[a-zA-Z-,./ ]+$</code>.<br>Length: 2–64 characters.</p>                                                   |
| `director.last_name`   | string(2–64) | M           | <p>Director's legal family name in English or Pinyin, corresponding to the name on the identity document used for verification.<br>Format: <code>^\[a-zA-Z-,./ ]+$</code>.<br>Length: 2–64 characters.</p>                                                  |
| `director.local_name`  | string(128)  | M           | <p>Director's full legal name in the local language, exactly as shown on the identity document used for verification.<br>Supports UTF-8/Unicode characters.<br>No character-set restriction.<br>Maximum 128 bytes.</p>                                      |
| `director.id_type`     | integer      | M           | <p>Type of identity document submitted for the director.<br>Format: Integer code.<br>See <a href="https://docs.pagsmile.com/reference/remittance-api/data/dictionary-item/id-type">ID Type</a> for supported values.</p>                                    |
| `director.id_no`       | string(6-20) | M           | <p>Director's identity document number, entered exactly as shown on the document.<br>Length: 6–18 characters.</p>                                                                                                                                           |
| `director.nationality` | string(2)    | M           | <p>Country representing the director's nationality.<br>Format: Two-letter ISO 3166-1 alpha-2 country code.<br>See <a href="https://docs.pagsmile.com/reference/remittance-api/data/dictionary-item/country-code">Country Code</a> for supported values.</p> |
| `director.date_birth`  | string       | M           | <p>Director's date of birth.<br>Format: <code>yyyy-MM-dd</code>.</p>                                                                                                                                                                                        |

**Director address**

| Field                           | Type          | Requirement | Description                                                                                                                                                                                                                                                              |
| ------------------------------- | ------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `director.address.address_id`   | long          | M           | Pagsmile-assigned unique identifier of the director's residential-address record to update.                                                                                                                                                                              |
| `director.address.line1`        | string(5–128) | M           | <p>Primary address line of the director's current residence, including the street name and building number.<br>Format: <a href="https://docs.pagsmile.com/reference/remittance-api/data/dictionary-item/charsets">ADDRESS</a>; 5–128 bytes.</p>                          |
| `director.address.line2`        | string(5–128) | O           | <p>Additional residential-address information for the director, such as the unit, apartment, floor, or building name.<br>Format: <a href="https://docs.pagsmile.com/reference/remittance-api/data/dictionary-item/charsets">ADDRESS</a>; when provided, 5–128 bytes.</p> |
| `director.address.postal_code`  | string(4-8)   | O           | <p>ZIP or postal code of the director's residential address.<br>Maximum length: 16 bytes.</p>                                                                                                                                                                            |
| `director.address.city_name`    | string(50)    | M           | <p>City in which the director currently resides.<br>Format: <a href="https://docs.pagsmile.com/reference/remittance-api/data/dictionary-item/charsets">STATE\_CITY</a>; maximum 50 bytes.</p>                                                                            |
| `director.address.state`        | string(50)    | O           | <p>State, province, or administrative region of the director's residential address.<br>Format: <a href="https://docs.pagsmile.com/reference/remittance-api/data/dictionary-item/charsets">STATE\_CITY</a>; maximum 50 bytes.</p>                                         |
| `director.address.country_code` | string(2)     | M           | <p>Country of the director's residential address.<br>Format: Two-letter ISO 3166-1 alpha-2 country code.<br>See <a href="https://docs.pagsmile.com/reference/remittance-api/data/dictionary-item/country-code">Country Code</a> for supported values.</p>                |

**Shareholders**

`shareholders` is an array of UBO records. The field paths below describe each item in the array.

| Field                           | Type         | Requirement | Description                                                                                                                                                                                                                                                                                                                        |
| ------------------------------- | ------------ | ----------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `shareholders[].shareholder_id` | long         | O           | <p>Pagsmile-assigned unique identifier of an existing shareholder record.<br>Omit this field when adding a new shareholder.</p>                                                                                                                                                                                                    |
| `shareholders[].first_name`     | string(50)   | M           | <p>Shareholder's legal given name in English or Pinyin, corresponding to the name on the identity document used for verification.<br>Format: CHARSETS\_2; 2–64 characters.<br>See <a href="https://docs.pagsmile.com/reference/remittance-api/data/dictionary-item/charsets">Character Sets</a> for the supported characters.</p>  |
| `shareholders[].last_name`      | string(50)   | M           | <p>Shareholder's legal family name in English or Pinyin, corresponding to the name on the identity document used for verification.<br>Format: CHARSETS\_2; 2–64 characters.<br>See <a href="https://docs.pagsmile.com/reference/remittance-api/data/dictionary-item/charsets">Character Sets</a> for the supported characters.</p> |
| `shareholders[].id_type`        | integer      | M           | <p>Type of identity document submitted for the shareholder.<br>Format: Integer code.<br>See <a href="https://docs.pagsmile.com/reference/remittance-api/data/dictionary-item/id-type">ID Type</a> for supported values.</p>                                                                                                        |
| `shareholders[].id_no`          | string(6-20) | M           | <p>Shareholder's identity document number, entered exactly as shown on the document.<br>Length: 6–18 characters.</p>                                                                                                                                                                                                               |
| `shareholders[].nationality`    | string(2)    | M           | <p>Country representing the shareholder's nationality.<br>Format: Two-letter ISO 3166-1 alpha-2 country code.<br>See <a href="https://docs.pagsmile.com/reference/remittance-api/data/dictionary-item/country-code">Country Code</a> for supported values.</p>                                                                     |

**Shareholder address**

| Field                                 | Type          | Requirement | Description                                                                                                                                                                                                                                                                 |
| ------------------------------------- | ------------- | ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `shareholders[].address.address_id`   | long          | O           | Pagsmile-assigned unique identifier of the shareholder's residential-address record.                                                                                                                                                                                        |
| `shareholders[].address.line1`        | string(5–128) | M           | <p>Primary address line of the shareholder's current residence, including the street name and building number.<br>Format: <a href="https://docs.pagsmile.com/reference/remittance-api/data/dictionary-item/charsets">ADDRESS</a>; 5–128 bytes.</p>                          |
| `shareholders[].address.line2`        | string(5–128) | O           | <p>Additional residential-address information for the shareholder, such as the unit, apartment, floor, or building name.<br>Format: <a href="https://docs.pagsmile.com/reference/remittance-api/data/dictionary-item/charsets">ADDRESS</a>; when provided, 5–128 bytes.</p> |
| `shareholders[].address.postal_code`  | string(4-8)   | O           | <p>ZIP or postal code of the shareholder's residential address.<br>Maximum length: 16 bytes.</p>                                                                                                                                                                            |
| `shareholders[].address.city_name`    | string(50)    | M           | <p>City in which the shareholder currently resides.<br>Format: <a href="https://docs.pagsmile.com/reference/remittance-api/data/dictionary-item/charsets">STATE\_CITY</a>; maximum 50 bytes.</p>                                                                            |
| `shareholders[].address.state`        | string(50)    | O           | <p>State, province, or administrative region of the shareholder's residential address.<br>Format: <a href="https://docs.pagsmile.com/reference/remittance-api/data/dictionary-item/charsets">STATE\_CITY</a>; maximum 50 bytes.</p>                                         |
| `shareholders[].address.country_code` | string(2)     | M           | <p>Country of the shareholder's residential address.<br>Format: Two-letter ISO 3166-1 alpha-2 country code.<br>See <a href="https://docs.pagsmile.com/reference/remittance-api/data/dictionary-item/country-code">Country Code</a> for supported values.</p>                |

For country values, see [Country Code](https://docs.pagsmile.com/remittance-api/data/dictionary-item/country-code). For character-set restrictions, see [CHARSETS](https://docs.pagsmile.com/remittance-api/data/dictionary-item/charsets).

**`biz_data` example**

The following example shows the business payload before encryption:

```json
{
  "merchant_id": 100396,
  "mobile": "+5511999999999",
  "email": "compliance@example.com",
  "business_scenes": [
    1005
  ],
  "website_url": "https://example.com",
  "corporation": {
    "corporation_id": 100450,
    "registration_name": "环球旅行有限公司",
    "name_en": "517NA TRAVEL AGENCY (HK) LIMITED",
    "industry_category": "Online marketplaces",
    "registration_code": "BR123456789",
    "registration_country": "BR",
    "registration_address": {
      "address_id": 100850,
      "line1": "100 Avenida Paulista",
      "line2": "Suite 1200",
      "postal_code": "01310100",
      "city_name": "Sao Paulo",
      "state": "Sao Paulo",
      "country_code": "BR"
    }
  },
  "director": {
    "director_id": 100474,
    "first_name": "Ruth",
    "last_name": "Miller",
    "local_name": "Ruth Miller",
    "id_type": 1,
    "id_no": "ABC123456",
    "nationality": "BR",
    "date_birth": "1988-05-20",
    "address": {
      "address_id": 100860,
      "line1": "200 Rua Augusta",
      "line2": "Apartment 15",
      "postal_code": "01304000",
      "city_name": "Sao Paulo",
      "state": "Sao Paulo",
      "country_code": "BR"
    }
  },
  "shareholders": [
    {
      "shareholder_id": 100000,
      "first_name": "Jane",
      "last_name": "Silva",
      "id_type": 1,
      "id_no": "XYZ987654",
      "nationality": "BR",
      "address": {
        "address_id": 100870,
        "line1": "300 Rua Haddock Lobo",
        "line2": "",
        "postal_code": "01414001",
        "city_name": "Sao Paulo",
        "state": "Sao Paulo",
        "country_code": "BR"
      }
    }
  ]
}
```

**Request example**

```bash
curl --request POST \
  --url 'https://rem-api-sandbox.pagsmile.com/remittance/merchant/update-corporation' \
  --header 'Content-Type: application/json; charset=UTF-8' \
  --data '{
    "partner_id": "000000000000001",
    "app_id": "162051914172236138",
    "timestamp": "2026-07-20 14:30:00",
    "version": "2.0",
    "language": "en",
    "random_key": "<RSA-encrypted AES key>",
    "request_id": "f6bed39c-eecf-c1a2-afcb-ba9baec80002",
    "sign_type": "RSA",
    "biz_data": "<AES-encrypted biz_data>"
  }'
```

{% hint style="info" %}
The sandbox `app_id` shown above is an example. Use the `app_id` assigned to your application when testing.
{% endhint %}

**Response**

{% tabs %}
{% tab title="Success" %}
An accepted update returns HTTP `200` with business code `10000`.

```json
{
  "code": "10000",
  "msg": "Success"
}
```

{% endtab %}

{% tab title="Invalid signature" %}
An invalid request signature may return HTTP `400` with the following response:

```json
{
  "code": "40002",
  "msg": "Business Failed",
  "sub_code": "invalid-signature",
  "sub_msg": "invalid signature"
}
```

{% endtab %}
{% endtabs %}

**Related APIs**

* [Create Corporate Merchant](https://docs.pagsmile.com/remittance-api/business/onboarding/create-corporation)
* [Query Corporate Merchant](https://docs.pagsmile.com/remittance-api/business/onboarding/query-corporation)
* [Remittance API Common](https://docs.pagsmile.com/remittance-api/common)
