Lewati ke konten

Get a plan

Otorisasi

apiKey
headerAuthorizationBearer <token>

lbp_test_... or lbp_live_...

Parameter path

id*string

Body respons

The plan

application/json
  1. response
id*string
object*"plan"
Value in"plan"
app_id*string
mode*string
Value in"test""live"
name*string
amount*integer
interval*
method*string
Value in"any""qris""va"
va_bank*string|null
expires_in*integer
active*boolean
metadata*
created_at*string
Formatdate-time
Contoh permintaan
curl -X GET 'https://pay.piti.id/v1/billing/plans/plan_3G5g...'
Contoh respons
{  "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"}