Skip to main content

API Specification

These are the API specification in openapi 3.0.2 format:

Billease Transaction API

  • This API is implemented on the Billease side

Merchant Callback API

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

Deals Products API

  • This API is implemented on the Billease side
  • Catalog synchronisation for Billease Deals partners only

Callback Retry

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

Retry CountDelay (after the previous API call)
15s
210s
320s
440s
580s

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 are displayed in the Merchants Portal.

Environments

Sandbox Environment

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

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

You can make this GET request to check the availability of API

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!

We used a dummy token for this example. You have to use your Merchant's token for your tests.

Production Environment

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