This website uses cookies to ensure you have the best experience. By continuing to use this site, you consent to our Cookie policy. You can disable cookies at any time, by changing your browser settings.
Accept and close

Sandbox Sample Call

In the following example we will test in the sandbox the case of "Not Sufficient Funds" for "Transfer Funds".

Request Sample:

www.paxum.com/payment/api/paymentAPI.php
POST
method=transferFunds&fromEmail=payer@domain.com&toEmail=payee@domain.com&amount=10.00&currency=USD&key=1060b7b46a3bd36b3a0d66e0127d0517&sandbox=ON&return=51
                

Please note that we added &sandbox=ON&return=51 at the end of the posted data.

Response Sample

<?xml version="1.0"?>
<Response>
    <Method>transferFunds</Method>
    <ResponseCode>51</ResponseCode>
    <ResponseDescription>Sandbox mode set to ON</ResponseDescription >
    <Fee>0.00</Fee>
    </TransactionId>
</Response>
                

Please note that when the sandbox mode is ON the human readable description for the returned error code is "Sandbox mode set to ON" and not the ones listed in Appendix A.