Welcome to Albato Help

Method for getting the list of available billing plans


IN THIS ARTICLE

This method is intended to get the list of available billing plans. A billing plan is a monthly transaction limit that you can set for your users.

Authorization: This method should be called with the partner's master account token.

Request:

GET | POST https://api.albato.com/wl/partner-name/list-plans

Where partner-name is your company name (partner name) in Albato.

Response parameters:

  • success — Request success indicator. Available values: true or false
  • data.id — Plan ID
  • data.monthlyTrx — Monthly transaction limit within a billing plan

Request example via curl:

curl --header "Content-type: application/json" --header "Accept: application/json" --header "Authorization: Basic cEFJjGffUSkV6WFFyWUhBM1RzS2hRHg7iKgReghUiijBfrdTY6" "https://api.albato.com/wl/partner-name/list-plans"

Response example:

{ "success": true, "data": [ { "id": 23, "monthlyTrx": 100000 } ] }

Did this answer your question?