Integration

API Specification

These are the API specification in openapi 3.0.2 format:

Billease Transaction API

This API is implemented on the Billiease side

Merchant Callback API

This is referenced API which has to be implemented on the Merchant side

Callback Retry

In case of failed callbacks, we automatically retry up to five (5) times with the following delays:

Retry Count Delay (after the previous API call)
1 5s
2 10s
3 20s
4 40s
5 80s

If an error is still encountered by the fifth retry, we will send you a notification email with the details of the transaction.

Full error details would be displayed in the Merchants Portal.

Environments

Sandbox

https://trx-test.billease.ph/be-transactions-api/

You can make next GET request to check the availability of API:

GET https://trx-test.billease.ph/be-transactions-api/ping

curl -k -X GET \
  https://trx-test.billease.ph/be-transactions-api/ping \
  -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJiaWxsZWFzZS1qd3QiLCJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkFwcGxlIGFuZCBjby4iLCJpYXQiOjE1MTYyMzkwMjIsImNvZGUiOiIxMjNlNDU2Ny1lODliLTEyZDMtYTQ1Ni00MjY2NTU0NDAwMDAiLCJ0b2tlbmlkIjoiZHNmYmFocTIzMjUzd2VyaGZhbzY4cXBic2RmODM0OTJnZWhqciIsImtleSI6InVpdHd5ZXJiZGpzYWYzNDk4MmtqaGdhc2RmMDI5MWFmazI5MCJ9.uV24Chf32ECnsGpUNqU_PMNjVexjmF-K59c7YeIS3mE'

Response:

{
    "env": "dev",
    "nam": "be-transactions-api",
    "srv": "2019-06-11 09:33:55",
    "ver": "9d359d9f3d3a1a995b19a271ac1feb6c288e215a"
}

Warning! In this example we used dummy token. You have to use your Merchant’s token to test API

Production Environment

https://trx.billease.ph/be-transactions-api/