Skip to main content

Create Store

POST/v3/store

To create a store under one merchant.

Request Parameters:

merchantSettlementIdString

Linkage with payment settlement account

nameStringrequired

Store Name

Example: "REVENUE MONSTER"

addressLine1Stringrequired

Store Address 1

Example: "B-5-30, 5th Floor, Block Bougainvillea,"

addressLine2String

Store Address 2

Example: "PJU 6A, Lebuhraya SPRINT, 10 Boulevard,"

postCodeStringrequired

Postcode of store

Example: "47400"

cityStringrequired

City of store

Example: "Petaling Jaya"

stateStringrequired

State of store

Example: "Selangor"

countryStringrequired

Country of store

Example: "Malaysia"

countryCodeStringrequired

Country code of store contact number

Example: "60"

phoneNumberStringrequired

Phone number of store

Example: "377334080"

geoLocationObject of [Float]

Geo Location (latitude and longitude) of store

Example: {"latitude": 3.1349857, "longitude": 101.6136659 }

Response Parameters

itemObject[]

Array of store object

Example: (Refer to explanation below)

codeString

Successfully call this endpoint. If fail, will return error code object (Refer Appendix 1: Error Codes)

Example: "SUCCESS"


Array of store object (item):
idString

Store ID

Example: "6170506694335521334"

merchantSettlementIdString

Merchant Settlement ID

Example: "6170506694335521334"

nameString

Store Name

Example: "REVENUE MONSTER"

addressLine1String

Store Address 1

Example: "B-5-30, 5th Floor, Block Bougainvillea,"

addressLine2String

Store Address 2

Example: "PJU 6A, Lebuhraya SPRINT, 10 Boulevard,"

postCodeString

Postcode of store

Example: "47400"

cityString

City of store

Example: "Petaling Jaya"

stateString

State of store

Example: "Selangor"

countryString

Country of store

Example: "Malaysia"

countryCodeString

Country code of store contact number

Example: "60"

phoneNumberString

Phone number of store

Example: "377334080"

geoLocationObject of [Float]

Geo Location (latitude and longitude) of store

Example: {"latitude": 3.1349857, "longitude": 101.6136659 }

statusString

Current status of store

Example: "ACTIVE"

isDefaultString

Default store of merchant (first store created upon signup)

Example: true

createdAtDateTime

Creation date time of store

Example: "2018-02-12T08:53:13Z"

updatedAtDateTime

Last update date time of store

Example: "2018-02-12T08:53:13Z"