Skip to main content

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:

environments

  • Environment Variables

    • token - your token for staging environemnt

    • merchant_code - merchant code

    • shop_code - shop code

    • transaction_code - this is transaction ID. You will get it from the response of Create transaction method

envvar

Create Transaction

After you successfully create a transaction, you can use transaction_code from the response to make other API requests.

transaction_code

update_transaction

Callback

You have to update the Authorization header depending on your implementation. We support three types of authorization:

  • Bearer token
  • API key
  • Basic authentication

callback

Production Checklist