Skip to main content

Update Account By ID

Method : PUT
URL : https://open.revenuemonster.my/v3/accounts/{id}
Sandbox URL : https://sb-open.revenuemonster.my/v3/accounts/{id}

note

Upadte Account Info

Request Parameters

Example Request

curl --location --request GET "https://sb-open.revenuemonster.my/v3/account/{id}" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjIwMTgtMy0xOCIsInR5cCI6IkpXVCJ9.eyJhdWQiOlsiYXBpX2NsaWVudEBFaGNLQzA5QmRYUm9RMnhwWlc1MEVQZUEyYXJ4dk1PSUZnIl0sImV4cCI6MTU5MzU4MDY0NSwiaWF0IjoxNTkwOTg4NjQ1LCJpc3MiOiJodHRwczovL29hdXRoLnJldmVudWVtb25zdGVyLm15IiwianRpIjoiRWh3S0VFOUJkWFJvUVdOalpYTnpWRzlyWlc0UXMtNnI5LVgzbElvVyIsIm5iZiI6MTU5MDk4ODY0NSwic3ViIjoiRWhRS0NFMWxjbU5vWVc1MEVMUF9wNlNKNnFQN0ZSSVFDZ1JWYzJWeUVPaXZfb1dKNnFQN0ZRIn0.RKtXykw3y0ov3mKKa_K2h5FZB2jXtqf3gNRwwnzzA4xTMdY09mEHlFupMeUmchFW2XHYK254LdMYbF4ZhjxK9K51UUdQBYH-zZpo0WWtPSZqrPGtT-c4z_sEO73EDVcek3rDwyWiXvjSKDpsZM7NOdKRm5tvT3qNK-7C7WMUjSXDcBzbTFhwfOAOO1n-wMR9H_w0DuIE-yMjEZkOdt7GUIBC8F5izATlZH0FRTx4VAwQWY4gjjQ9-3PbUbHx-NKiFXwCOAsxu-79PiF0HDEHb6ZOCGywNmKuanEXqLonli0caZiUZfrdT53y3Xnd3W2SEr6s7ZQxWnQO5PeOU7BQYA" \
--header "X-Signature: sha256 bFGc2JOEFqdI91DE5VXYBUllr+9DHcrrylRFU3i1r72aPmJreljn0dU+nwPSwTH/dTQUiZ9C2aQSF8AuT959EW4WEyEZ6VWgt9gCyZaU/bcOQ/ZIhKc06+uwzivVhAzpbUtG5tm5/sBp4ig6Sk7L6SE0Ecu6Tm0FhYl0qdgZvrTh4EEpLs3kHIuYL9QXKJILfKlu4gTX1Exrt7nNyEr8ndeUMaKYrj3FckMbRtmCwc829SsVp6FAgvoDPnguUJ+VjLF1e9NXhar2JwYjuqMkwsmUWRDbittqCgCCfaPF8anarlLsoXbdYEa7bp9BYp2U/Dw3Xd2MlamEZSR8H+Dosw==" \
--header "X-Nonce-Str: VYNknZohxwicZMaWbNdBKUrnrxDtaRhN" \
--header "X-Timestamp: 1528450585" \
--data-raw "{
"brandName": "Revenue Monster",
"websiteUrl": "https://revenuemonster.my",
"registrationNumber": "XAS1233123",
"establishedAt": "2006-01-02T15:04:05Z",
"addressLine1": "1, Jalan Pertanian 25",
"addressLine2": "Taman Universiti",
"postCode": "81302",
"city": "SKUDAI",
"state": "JOHOR",
"country": "MALAYSIA",
"countryCode": "60",
"phoneNumber": "167724152",
"companyName": "Revenue Monster",
"companyType": "PRIVATE LIMITED COMPANY (SDN BHD)",
"businessCategory": "COMPUTER AND ELECTRONICS",
"averageTicketSize": 1000000,
"averageTurnoverPerMonth": 1000000,
"businessScope": "some business scope",
"invoiceAddress": {
"addressLine1": "1, Jalan Pertanian 25",
"addressLine2": "Taman Universiti",
"postCode": "81302",
"city": "SKUDAI",
"state": "JOHOR",
"country": "MALAYSIA"
},
"document": {
"ctosFileUrl": "https://somefilenedpoint.com",
"ownerICFileUrl": "https://somefilenedpoint.com",
"directorICFileUrl": "https://somefilenedpoint.com",
"shareHolderICFileUrl": "https://somefilenedpoint.com",
"businessRegistrationFileUrl": "https://somefilenedpoint.com",
"bankStatementFileUrl": "https://somefilenedpoint.com",
"moaFileUrl": "https://somefilenedpoint.com",
"form24FileUrl": "https://somefilenedpoint.com",
"form49FileUrl": "https://somefilenedpoint.com",
"section14FileUrl": "https://somefilenedpoint.com",
"form44FileUrl": "https://somefilenedpoint.com",
"businessSitePhotoFileUrl": "https://somefilenedpoint.com"
},
"inspectList": [
{
"fullName": "NG SZE CHEN",
"gender": "MALE",
"birthday": "2000-07-14T15:59:59Z",
"nationality": "MALAYSIAN",
"idType": "IC",
"idNo": "2131290134"
}
],
"bankAccountType": "CORPORATE",
"bankAccountHolderName": "Revenue Monster",
"bankAccountNo": "32312323",
"bankCode": "HLBB",
"latitude": 0.0,
"longitude": 0.0
}"

Response Parameters

ParameterTypeDescriptionExample
itemObject[](Refer to explanation below)
codeStringSuccessfully call this endpoint. If fail, will return error code object (Refer Appendix 1: Error Codes)"SUCCESS"

Accoount Info (item):
ParameterTypeDescriptionExample
idStringAccount ID"1653895399283266156"
merchantIdStringMerchant ID"4118165203679668885"
isDefaultBooleantrue
companyNameStringCompany name of merchant"REVENUE MONSTER"
companyTypeStringType of company incorporation"SOLE PROPRIETOR"
registrationNumberStringRegistration number of merchant“12344”
businessCategoryStringBusiness category of merchant"SOFTWARE AND IT"
businessScopeStringBusiness category of merchant"SOFTWARE AND IT"
sourceOfFundsStringBusiness category of merchant"SOFTWARE AND IT"
customerOriginStringBusiness category of merchant"SOFTWARE AND IT"
establishedAtDateTimeEstablished date time of merchant"2018-03-26T04:50:57Z"
countryCodeStringCountry code of merchant contact number"60"
phoneNumberStringPhone number of merchant"377334080"
addressLine1StringAddress 1 of merchant"20, JALAN JASA 38, TAMAN MUTIARA RINI"
addressLine2StringAddress 2 of merchant""
postcodeStringPostcode of merchant“81300”
cityStringCity of merchant"Selangor"
stateStringState of merchant"Selangor"
countryStringCountry of merchant"Malaysia"
isSameBusinessAddressBooleanfalse
invoiceAddressObjectObject of Invoice Address(Refer below)
inspectListArray (nullable)null
statusStringCurrent status of Account"UNVERIFIED"
documentObjectRefer Below
documentFileObjectRefer Below
bankAccountNoString""
bankAccountTypeString""
bankAccountHolderNameString""
bankNameString""
bankCodeString""
averageTicketSizeUint0
averageTurnoverPerMonthUint0
paymentSubscriptionString""
createdAtDateTimeCreation date time of merchant"2021-01-13T04:35:32Z"
updatedAtDateTimeLast update date time of merchant"2021-01-13T04:35:32Z"

Document object :
ParameterTypeDescriptionExample
ctosFileUrlString""
ownerICFileUrlString""
directorICFileUrlString""
shareHolderICFileUrlString""
businessRegistrationFileUrlString""
bankStatementFileUrlString""
moaFileUrlString""
form24FileUrlString""
form49FileUrlString""
section14FileUrlString""
form44FileUrlString""
businessSitePhotoFileUrlString""
essmDocumentFileUrlString""
letterOfConsentFileUrlString""

DocumentFile object :
ParameterTypeDescriptionExample
CtosFileUrlString (nullable)null
OwnerICFileUrlString (nullable)null
DirectorICFileUrlString (nullable)null
ShareHolderICFileUrlString (nullable)null
BusinessRegistrationFileUrlString (nullable)null
BankStatementFileUrlString (nullable)null
MoaFileUrlString (nullable)null
Form24FileUrlString (nullable)null
Form49FileUrlString (nullable)null
Section14FileUrlString (nullable)null
Form44FileUrlString (nullable)null
BusinessSitePhotoFileUrlString (nullable)null

invoiceAddress (parameter) :
ParameterTypeDescriptionExample
addressLine1StringAddressLine1""
addressLine2StringAddressLine2""
postCodeStringCustomer Remark""
cityStringCity""
stateStringAddress State""
countryStringCountry""

inspectList (parameter) :
ParameterTypeExample
fullNameString""
emailString""
positionString""
countryCodeString""
phoneNumberString""
genderString""
birthdayString""
nationalityString""
iDTypeString""
iDNoString""
beginDateTimeString""
endDateTimeString""

Example Response

{
"items": {
"id": "1596124535165747709",
"merchantId": "4118165203679668885",
"isDefault": false,
"companyName": "Merchant & Testings",
"companyType": "SOLE PROPRIETORSHIP",
"registrationNumber": "123455-Test",
"businessCategory": "BANK, FINANCIAL INSITUTION",
"businessScope": "Finance industry",
"sourceOfFunds": "",
"customerOrigin": "",
"establishedAt": "2018-05-31T09:06:26Z",
"countryCode": "60",
"phoneNumber": "123907657",
"addressLine1": "1, TEST ROAD 1",
"addressLine2": "",
"postcode": "50000",
"city": "KUALA LUMPUR",
"state": "KUALA LUMPUR",
"country": "MALAYSIA",
"isSameBusinessAddress": false,
"invoiceAddress": {
"addressLine1": "1, TEST ROAD 1",
"addressLine2": "",
"postcode": "50000",
"city": "KUALA LUMPUR",
"state": "KUALA LUMPUR",
"country": "MALAYSIA"
},
"inspectList": [
{
"fullName": "DFDSF",
"email": "",
"position": "DIRECTOR",
"countryCode": "",
"phoneNumber": "",
"gender": "MALE",
"birthday": "2018-05-20T23:59:59.000Z",
"nationality": "ALBANIAN",
"idType": "IC",
"idNo": "123456789098",
"beginAt": "",
"endAt": ""
}
],
"status": "UNVERIFIED",
"document": {
"ctosFileUrl": "",
"ownerICFileUrl": "https://rm-sandbox-document.oss-ap-southeast-3.aliyuncs.com/4118165203679668885/T3duZXJJQ0ZpbGVVUkw=.png",
"directorICFileUrl": "",
"shareHolderICFileUrl": "",
"businessRegistrationFileUrl": "https://rm-sandbox-document.oss-ap-southeast-3.aliyuncs.com/4118165203679668885/QnVzaW5lc3NSZWdpc3RyYXRpb25GaWxlVVJM.png",
"bankStatementFileUrl": "https://rm-sandbox-document.oss-ap-southeast-3.aliyuncs.com/4118165203679668885/YmFua1N0YXRlbWVudEZpbGVVcmw=.png",
"moaFileUrl": "",
"form24FileUrl": "",
"form49FileUrl": "",
"section14FileUrl": "",
"form44FileUrl": "",
"businessSitePhotoFileUrl": "https://rm-sandbox-document.oss-ap-southeast-3.aliyuncs.com/4118165203679668885/YnVzaW5lc3NTaXRlUGhvdG9GaWxlVXJs.png",
"essmDocumentFileUrl": "",
"letterOfConsentFileUrl": ""
},
"documentFile": {
"CTOSFileURL": null,
"OwnerICFileURL": null,
"DirectorICFileURL": null,
"ShareHolderICFileURL": null,
"BusinessRegistrationFileURL": null,
"BankStatementFileURL": null,
"MOAFileURL": null,
"Form24FileURL": null,
"Form49FileURL": null,
"Section14FileURL": null,
"Form44FileURL": null,
"BusinessSitePhotoFileURL": null
},
"bankAccountNo": "asdsad13123123",
"bankAccountType": "INDIVIDUAL",
"bankAccountHolderName": "Revenue Monster Sdn Bhd",
"bankName": "KUWAIT FINANCE HOUSE",
"bankCode": "KFHO",
"averageTicketSize": 0,
"averageTurnoverPerMonth": 0,
"paymentSubscription": "",
"createdAt": "2021-01-13T04:35:32Z",
"updatedAt": "2021-01-13T04:35:32Z"
},
"code": "SUCCESS"
}