Examples
GitLab Repository
In this repository you can find examples of code on how to use the BillEase Transactions API.
Demo "Web Shop"
You can use the demo web shop on our staging environment to view the checkout flow.
Postman Collection
Postman
Postman is a collaboration platform for API development. You can download the application here.
You can download our sample Postman collection here.
Create Environment
- Our sample uses environment variables. You have to create a staging environment like in this example:
Environment Variables
token
- your token for staging environemntmerchant_code
- merchant codeshop_code
- shop codetransaction_code
- this is transaction ID. You will get it from the response ofCreate transaction
method
Create Transaction
After you successfully create a transaction, you can use transaction_code
from the response to make other API requests.
Callback
You have to update the Authorization header depending on your implementation. We support three types of authorization:
- Bearer token
- API key
- Basic authentication
Production Checklist
- Submit all required documents
- Ensure test cases for all APIs pass in the staging environment
- Switch API URLs from staging to production
- Switch private keys from staging to production