Create Corporation

Create Corporation

Request URL

POST https://rem-api-sandbox.pagsmile.com/remittance/merchant/create-corporation

Request Header

Name
Type
Description

Content-Type*

string

application/json; charset=UTF-8

Request Body

Refer to : common

Biz_data

Name
Type
Description

mobile

string(16)

The whole mobile phone number.

Need to add an international area code

email

string(80)

Email

business_category*

Integer

Business Category Refer to Business Category

website_url*

string(128)

Website Url

corporation.registration_name*

string(100)

Registration Name

Format:CHARSETS_7

corporation.registration_code*

string(32)

Registration Code

corporation.registration_country*

string(2)

Registration Country

corporation.business_scope*

string(300)

Business Scope

corporation.registration_address.line*

string(128)

The first line of the address.

Format:CHARSETS_4

corporation.registration_address.line2

string(128)

The second line of the address.

Format:CHARSETS_4

corporation.registration_address.postal_code*

string(4-8)

The address zip code, or postal code

corporation.registration_address.city_name*

string(4-80)

The address city

Format:CHARSETS_6

corporation.registration_address.state*

string(4-48)

The address state

Format:CHARSETS_6

corporation.registration_address.country_code*

string(2)

Country code,

refer to CountryCode

person.first_name*

string(50)

Director

First name

person.last_name*

string(50)

Director

Last name

person.id_type*

integer

Director

ID Type

person.id_no*

string(6-20)

Director

ID Number

person.citizenship_country*

string(2)

Director

Citizenship Country

person.is_pep*

Boolean

Director

Does the Director have any connection to a PEP (Politically ExposedPerson)

person.address.line*

string(128)

Director

The first line of the address.

Format:CHARSETS_4

person.address.line2

string(128)

Director

The second line of the address.

Format:CHARSETS_4

person.address.postal_code*

string(4-8)

Director

The address zip code, or postal code

person.address.city_name*

string(4-80)

Director

The address city

Format:CHARSETS_6

person.address.state*

string(4-48)

Director

The address state

Format:CHARSETS_6

person.address.country_code*

string(2)

Director

Country code,

Refer to CountryCode

shareholders[0].first_name*

string(50)

UBO

First name

shareholders[0].last_name*

string(50)

UBO

Last name

shareholders[0].id_type*

integer

shareholders[0].id_no*

string(6-20)

UBO

ID Number

shareholders[0].citizenship_country*

string(2)

UBO

Citizenship Country

shareholders[0].is_pep*

Boolean

UBO

Does the Director have any connection to a PEP (Politically ExposedPerson)

shareholders[0].address.line*

string(128)

UBO

The first line of the address.

Format:CHARSETS_4

shareholders[0].address.line2

string(128)

UBO

The second line of the address.

Format:CHARSETS_4

shareholders[0].address.postal_code*

string(4-8)

UBO

The address zip code, or postal code

shareholders[0].address.city_name*

string(4-80)

UBO

The address city

Format:CHARSETS_6

shareholders[0].address.state*

string(4-48)

UBO

The address state

Format:CHARSETS_6

shareholders[0].address.country_code*

string(2)

UBO

Country code,

Refer to CountryCode

Response

{
    "code": "10000",
    "msg": "Success",
    "data":{
        "merchant_id": 100398,
        "status":1
        
    },
    "random_key":"abssdddd2wdw==",
    "sign_type": "RSA",
    "app_id": "2017051914172236111"
}
Name
Type
Description

merchant_id*

long

Merchant ID

status*

integer

Status :0-initial 1-enabled 2-disabled

Default : 1

Example


curl --location --request POST 'https://rem-api-sandbox.pagsmile.com/remittance/merchant/create-corporation' \
--header 'Content-Type: application/json' \
--data-raw '
{
    "partner_id": "000000000000001",
    "sub_partner_id": "",
    "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.

Last updated