...
Parameter | Data type | Description | |
---|---|---|---|
Request | Text | createAccount | Mandatory |
CompanyToken | Token | Token you got from 3G to operate this API | Mandatory |
CustomerEmail | Text | Customer Email address | Mandatory |
CustomerFirstName | Text | Customer first name | Mandatory |
CustomerLastName | Text | Customer last name | Mandatory |
CustomerPhone | Text | Customer phone number | Mandatory |
CustomerDialCode | ISO code | Customer country ISO 2 letter code | Mandatory |
CustomerPassword | Text | 6 chars minimum. Allows characters like !@#$%&()? | Optional |
CustomerAddress | Text | Customer address | Optional |
CustomerCity | Text | Customer city | Optional |
CustomerCountry | ISO code | Customer country ISO 2 letter code | Optional |
CustomerZip | Text | Customer zip code | Optional |
| Text | Verify “mobile” or “creditCard” | Optional |
CustomerCreditCard | Text | Customer credit card number | Mandatory/Optional if |
CustomerExpiry | Text | Customer credit card expiry date (MM/YY) | Mandatory/Optional if |
CustomerCvv | Text | Customer credit card CVV | Mandatory/Optional if |
CustomerGlobalAccountCustomerAllowSWrefunds | Bool | Verify credit card via global current company account (default 0) | Optional |
CustomerHolderName | Text | Customer credit card holder name | Mandatory/Optional if |
CustomerThreeD | XML (String) | Customer credit card 3D data (if need verify 3D credit card ) | Optional |
| Bool | Allow send verify email, default - 1 | Optional |
| Text | MNO for verify payment | Mandatory/Optional if |
| Text | MNO country, for example: “Kenya“ | Mandatory/Optional if |
| Text | Phone number for mobile payment | Mandatory/Optional if |
...
|
...
|
Respond:
The server will respond for the chargeTokenCreditCard request according to the following results:
Parameter | Data type | Description |
Result | 3/4 digits code | A code will be sent with the result of the request |
| Text | Free text of the result |
Respond codes:
Code | Explanation |
000 | Successfully created account |
900 | Create Account Error |
903 | Create account error. Please try again or contact to support team (Internal process error) |
902 | company / subsidiary company was not found |
901, | Data mismatch in one of the fields – fieldname |
804 | Error in XML |
950 | Request missing mandatory fields – fieldname |