If you already have access to the sandbox environment you can skip this step.
To get started with the sandbox API you must request access to sandbox here. Once approved, you will receive an email to create your password and proceed to next steps.
Download the ZTLment Authenticator App from the App Store to finalise the setup of your account and generate your blockchain address.
To use the app in sandbox mode you must open the app, press the “settings” button and select “Sandbox”.
Now you can log in with your email and password, and the app will walk you through the final account setup and address generation.
Once you have received access to the sandbox environment you should have received an email with your unique API key. It is important to keep the API key secret as you will be using this key as
api_key of your HTTPS requests as described in the Authentication section.
Now that you have received sandbox access, downloaded & activated your account you can make your first payment.
The steps are as follows:
- 🙋♀️ Create External Recipients
First thing, you create an ‘External Recipient’ which contains the information of the
- 💰 Create Payment Objects
Next, you create a Payment Object using the
id, begins with 'ACC_', of your Payment Account as the
payer, and the
idof the newly created External Recipient as the
payee, which begins with 'EXT_'.
- ✅ Approve Payment Objects in ZTLment or your dashboard
Once you have created a Payment Object it must be approved via the dashboard (in production this is generally done by someone in the finance department).
- 📲 Sign Payment Objects in ZTLment Authenticator App
Lastly, the Payment Object must to be signed with the private key of the
payeraccount, which is securely stored in the ZTLment Authenticator app on the user’s phone. When new Payment Objects are approved, the native app receives push notifications to sign the Payment Objects. To sign the Payment Object the user must log in to the app and swipe. This is the final step which initialises the payment.