# Update Corporation

### **Request** URL <a href="#payin-by-creditcard" id="payin-by-creditcard"></a>

`POST` `/remittance/merchant/update-corporation`

### **Request Body**

&#x20;**Refer to :** [**common**](https://docs.pagsmile.com/remittance-api/common)

&#x20;**Biz\_data**&#x20;

<table><thead><tr><th width="325">Name</th><th>Type</th><th>Description</th></tr></thead><tbody><tr><td>merchant_id</td><td>long</td><td>Merchant ID</td></tr><tr><td>mobile</td><td>string(16)</td><td><p>The whole mobile phone number.</p><p>Need to add an international area code</p></td></tr><tr><td>email<mark style="color:red;">*</mark></td><td>string(80)</td><td>Email</td></tr><tr><td>business_category<mark style="color:red;">*</mark></td><td>Integer</td><td><p>Business Type</p><p>Refer to <a href="../../data/dictionary-item/business-category">Business Category</a></p></td></tr><tr><td>website_url<mark style="color:red;">*</mark></td><td>string(128)</td><td>Website Url</td></tr><tr><td>corporation.corporation_id<mark style="color:red;">*</mark></td><td>long</td><td>Corporation ID</td></tr><tr><td>corporation.registration_name<mark style="color:red;">*</mark></td><td>string(100)</td><td><p>Registration Name</p><p>Format:<a href="../../data/dictionary-item/charsets">CHARSETS_7</a></p></td></tr><tr><td>corporation.registration_code<mark style="color:red;">*</mark></td><td>string(32)</td><td>Registration Code</td></tr><tr><td>corporation.business_scope<mark style="color:red;">*</mark></td><td>string</td><td>Business Description</td></tr><tr><td>corporation.registration_country<mark style="color:red;">*</mark></td><td>string(2)</td><td>Registration Country</td></tr><tr><td>corporation.registration_address.address_id<mark style="color:red;">*</mark></td><td>long</td><td>Address ID</td></tr><tr><td>corporation.registration_address.line<mark style="color:red;">*</mark></td><td>string(128)</td><td><p>The first line of the address.</p><p>Format:<a href="../../data/dictionary-item/charsets">CHARSETS_4</a></p></td></tr><tr><td>corporation.registration_address.line2</td><td>string(128)</td><td><p>The second line of the address.</p><p>Format:<a href="../../data/dictionary-item/charsets">CHARSETS_4</a></p></td></tr><tr><td>corporation.registration_address.postal_code</td><td>string(4-8)</td><td>The address zip code, or postal code</td></tr><tr><td>corporation.registration_address.city_name<mark style="color:red;">*</mark></td><td>string(4-80)</td><td><p>The address city</p><p>Format:<a href="../../data/dictionary-item/charsets">CHARSETS_6</a></p></td></tr><tr><td>corporation.registration_address.state<mark style="color:red;">*</mark></td><td>string(4-48)</td><td><p>The address state</p><p>Format:<a href="../../data/dictionary-item/charsets">CHARSETS_6</a></p></td></tr><tr><td>corporation.registration_address.country_code<mark style="color:red;">*</mark></td><td>string(2)</td><td><p>Country code</p><p>refer to <a href="https://docs.pagsmile.com/issuing-card-api/data/dictionary-item/countrycode">CountryCode</a></p></td></tr><tr><td>director.director_id<mark style="color:red;">*</mark></td><td>long</td><td><p>Director</p><p>Director ID</p></td></tr><tr><td>director.first_name<mark style="color:red;">*</mark></td><td>string(50)</td><td><p>Director</p><p>First name</p></td></tr><tr><td>director.last_name<mark style="color:red;">*</mark></td><td>string(50)</td><td><p>Director</p><p>Last name</p></td></tr><tr><td>director.id_type<mark style="color:red;">*</mark></td><td>integer</td><td><p>Director</p><p><a href="../../data/dictionary-item/id-type">ID Type</a></p></td></tr><tr><td>director.id_no<mark style="color:red;">*</mark></td><td>string(6-20)</td><td><p>Director</p><p>ID Number</p></td></tr><tr><td>director.nationality<mark style="color:red;">*</mark></td><td>string(2)</td><td>Director, nationality</td></tr><tr><td>director.is_pep<mark style="color:red;">*</mark></td><td>Boolean</td><td><p>Director</p><p>Does the Director have any connection to a PEP (Politically ExposedPerson)</p></td></tr><tr><td>director.address.address_id<mark style="color:red;">*</mark></td><td>Long</td><td>Address ID</td></tr><tr><td>director.address.line<mark style="color:red;">*</mark></td><td>string(128)</td><td><p>Director</p><p>The first line of the address.</p><p>Format:<a href="../../data/dictionary-item/charsets">CHARSETS_4</a></p></td></tr><tr><td>director.address.line2</td><td>string(128)</td><td><p>Director</p><p>The second line of the address.</p><p>Format:<a href="../../data/dictionary-item/charsets">CHARSETS_4</a></p></td></tr><tr><td>director.address.postal_code</td><td>string(4-8)</td><td><p>Director</p><p>The address zip code, or postal code</p></td></tr><tr><td>director.address.city_name<mark style="color:red;">*</mark></td><td>string(4-80)</td><td><p>Director</p><p>The address city</p><p>Format:<a href="../../data/dictionary-item/charsets">CHARSETS_6</a></p></td></tr><tr><td>director.address.state</td><td>string(4-48)</td><td><p>Director</p><p>The address state</p><p>Format:<a href="../../data/dictionary-item/charsets">CHARSETS_6</a></p></td></tr><tr><td>director.address.country_code<mark style="color:red;">*</mark></td><td>string(2)</td><td><p>Director</p><p>Country code,</p><p>Refer to <a href="https://docs.pagsmile.com/issuing-card-api/data/dictionary-item/countrycode">CountryCode</a></p></td></tr><tr><td>shareholders[0].shareholder_id</td><td>long</td><td><p>UBO</p><p>Shareholder ID</p></td></tr><tr><td>shareholders[0].first_name<mark style="color:red;">*</mark></td><td>string(50)</td><td><p>UBO</p><p>First name</p></td></tr><tr><td>shareholders[0].last_name<mark style="color:red;">*</mark></td><td>string(50)</td><td><p>UBO</p><p>Last name</p></td></tr><tr><td>shareholders[0].id_type<mark style="color:red;">*</mark></td><td>integer</td><td><p>UBO</p><p><a href="../../data/dictionary-item/id-type">ID Type</a></p></td></tr><tr><td>shareholders[0].id_no<mark style="color:red;">*</mark></td><td>string(6-20)</td><td><p>UBO</p><p>ID Number</p></td></tr><tr><td>shareholders[0].nationality<mark style="color:red;">*</mark></td><td>string(2)</td><td><p>UBO</p><p>Nationality</p></td></tr><tr><td>shareholders[0].is_pep<mark style="color:red;">*</mark></td><td>Boolean</td><td><p>UBO</p><p>Does the Director have any connection to a PEP (Politically ExposedPerson)</p></td></tr><tr><td>shareholders[0].address.address_id</td><td>long</td><td>Address ID</td></tr><tr><td>shareholders[0].address.line<mark style="color:red;">*</mark></td><td>string(128)</td><td><p>UBO</p><p>The first line of the address.</p></td></tr><tr><td>shareholders[0].address.line2</td><td>string(128)</td><td><p>UBO</p><p>The second line of the address.</p></td></tr><tr><td>shareholders[0].address.postal_code</td><td>string(4-8)</td><td><p>UBO</p><p>The address zip code, or postal code</p></td></tr><tr><td>shareholders[0].address.city_name<mark style="color:red;">*</mark></td><td>string(4-80)</td><td><p>UBO</p><p>The address city</p></td></tr><tr><td>shareholders[0].address.state</td><td>string(4-48)</td><td><p>UBO</p><p>The address state</p></td></tr><tr><td>shareholders[0].address.country_code<mark style="color:red;">*</mark></td><td>string(2)</td><td><p>Country code,</p><p>Refer to <a href="https://docs.pagsmile.com/issuing-card-api/data/dictionary-item/countrycode">CountryCode</a></p></td></tr></tbody></table>

{% hint style="info" %}

{% endhint %}

### Response <a href="#example" id="example"></a>

{% tabs %}
{% tab title="200:submit successfully" %}

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

{% endtab %}

{% tab title="400: invalid-signature" %}

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

{% endtab %}
{% endtabs %}

### Example <a href="#example" id="example"></a>

```

curl --location --request POST 'https://rem-api-sandbox.pagsmile.com/remittance/merchant/update-corporation' \
--header 'Content-Type: application/json' \
--data-raw '
{
    "partner_id": "000000000000001",
    "app_id": "162051914172236138",
    "timestamp": "2011-09-23 04:24:03",
    "format": "JSON",
    "version": "2.0",
    "random_key": "jJT3+PR9CSowcR2QOK5OzMjVmTSjGoectzYbO8lENHnboElE",
    "request_id": "F6bEd39c-EecF-C1a2-AFcb-bA9BAeC8",
    "sign_type": "RSA",
    "biz_data":"3+PR9CSowtzYbO8lENHncR2QOK5OzMjJT3+PR9CSowcR2QOK5OzMjVmTSjGoectzYbO8lENHnboElE"
}'
```

```
```

Note: **162\*\*\*\*\*\*\*\*\*\*\*\*38**  is pagsmile's test app id for sandbox

Please use your own **app\_id** when testing.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pagsmile.com/remittance-api/business/onboard/update-corporation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
