Skip to Content

List plans

Newest first.

Authorization

apiKey
headerAuthorizationBearer <token>

lbp_test_... or lbp_live_...

Query Parameters

active?boolean
limit?integer
Range1 <= value <= 100
Default20
starting_after?string

Response Body

Plans

application/json
  1. response
object*"list"
Value in"list"
data*array<>
has_more*boolean
Example Request
curl -X GET 'https://pay.piti.id/v1/billing/plans'
Example Response
{  "object": "list",  "data": [    {      "id": "string",      "object": "plan",      "app_id": "string",      "mode": "test",      "name": "string",      "amount": 0,      "interval": {        "unit": "day",        "count": 0      },      "method": "any",      "va_bank": "string",      "expires_in": 0,      "active": true,      "metadata": {},      "created_at": "2019-08-24T14:15:22Z"    }  ],  "has_more": true}