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
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
}
]
}