Registration API

The OrderPurchase method validates a request for a transaction, by verifying that the vendor key and the end user details are valid. If so, the method returns a token representing the transaction. The end user is not charged when OrderPurchase is called; he or she is charged only after performing the final approval of the transaction.

Pay attention
Before calling the Cellarix API, the business client must obtain a vendor identification key, generated by Cellarix. This key must be passed with each API call. The format of the key is:
<Key> <KeyObj> <PhoneNumber>Supplier phone number</PhoneNumber> <SecureKey>Secure key from Cellarix</SecureKey> </KeyObj> </Key>

Input Parameters
m-Mandatory fields
Parameter Type Description
(m) sKey string The business client’s vendor identification key.
UseAddress\UserFirstName string The end user’s first name.
UseAddress\UserLastName string The end user’s last name.
UseAddress\UserIdNumber string The end user’s ID number.
UseAddress\Email string The end user’s email address.
UserDetails\PhoneNumber string The end user’s cell phone number.
(m) SupplierRedirectPage string The page to which the end user is redirected at the end of the payment process.
Output Parameters
Parameter Type Description
Status\Number string A numeric value indicating success or failure of the call.
1 indicates success. A negative value indicates failure.
See Appendix: Cellarix API Error Codes for more details about error codes.
Status\Message string A textual description of the call’s status (an error message in case of failure).