Description
The merchantOnBoarding will create new Merchant accountwithin account within DPO system.
URL: https://secure1.sandbox.directpay.online/API/v6/
...
Parameter | Data type | Description | |
Request | Text | merchantOnBoarding | Mandatory |
CompanyToken | Token | Token you got from DPO to operate this API | Mandatory |
ContactEmail | Text | Contact person email address | Mandatory |
ContactFirstName | Text | Contact person first name | Mandatory |
ContactLastName | Text | Contact person last name | Mandatory |
ContactPhoneNumber | Text | Contact person phone number include international prefix | Mandatory |
MerchantName | Text | Merchant brand Merchant business name | Mandatory |
MerchantRegisteredName | Text | Merchant business Merchant brand name | Mandatory |
MerchantCountry | ISO code | Merchant country ISO 2 letter code http://en.wikipedia.org/wiki/ISO_3166-1 | Mandatory |
MerchantCity | Number | Merchant city based on list shared by DPO | Mandatory |
MerchantUrl | Text | Valid HTTP endpoint for PuahPayment PushPayment notifications | Optional |
MerchantAddress | Text | Merchant address | Mandatory |
MerchantAccountType | Number | Merchant account based on list shared by DPO | Optional |
MerchantIncorpDate | Date | Date format - YYYY/MM/DD | Optional |
FileTypeId | Number | File type ID based on list shared by DPO | Optional |
FileType | Text | File type based on predefined available list shared by DPO | Optional |
FileBase | Base64 | Base 64 encoded string | Optional |
MerchantNotificationUrl | URL | Merchant's URL for sending notifications on first file upload | Optional |
MerchantDisableEmail | Boolean | Send email to merchant | Optional |
...
Parameter | Data type | Description |
Result | 3 digits code | A code will be sent with the result of the request |
ResultExplanation | Text | Free text of the result |
CompanyData.CompanyToken | Token | CompanyToken to operate DPO's API's on behalf of the on boarded merchant |
CompanyData.CompanyId | Number | Company id |
CompanyData.UploadFiles | URL | A link to upload files form for the onboarded merchant |
CompanyData.CompanyCode | Text | CompanyCode |
CompanyData.coId | Number | Country id |
CompanyData.services.name | Text | Company service name |
CompanyData.services.id | Number | Company service id |
...
Code Block | ||||
---|---|---|---|---|
| ||||
<?xml version="1.0" encoding="UTF-8"?>
<API3G>
<CompanyData>
<CompanyId>9556</CompanyId>
<CompanyToken>9EF044**************************F99B</CompanyToken>
<UploadFiles>
https://secure.3gdirectpay.com/external/uploadfileform/uploadfileform.php?token=9EF044**************************F99B
</UploadFiles>
<CompanyCode>HKRUA</CompanyCode>
<coId>2</coId>
<services>
<service>
<name>PC</name>
<id>30008</id>
</service>
<service>
<name>Flight</name>
<id>30009</id>
</service>
</services>
</CompanyData>
<Result>000</Result>
<ResultExplanation>Merchant has been created</ResultExplanation>
</API3G> |
...