Get Installments Plan by ID

The Get Installments Plan API lets you retrieve detailed information about an existing installment plan. This includes the plan’s installment options, billing frequency, amount limits, and other relevant details.

Use this endpoint to fetch the current configuration of a specific installment plan.

GET/installments-plans/{installment_code}

Path Parameters

installment_codestringrequired

Identifier of the installment plan.

Response

200

idstring
namestring
account_idstring[]
merchant_referencestring
installments_planobject[]
Show installments_plan properties
installmentinteger
rateinteger
provider_idstring
amountobject
Show amount properties
currencystring
valuestring
total_valuestring
iinany
country_codestring
first_installment_deferralinteger
amountobject
Show amount properties
currencystring
min_valueinteger
max_valueinteger
availabilityobject
Show availability properties
start_atstring
finish_atstring
created_atstring
updated_atstring
payment_method_type"CARD" | "NU_PAY_ENROLLMENT" | "APPLE_PAY"

400

Request
curl -X GET "https://api-sandbox.whitelabel.com/v1/installments-plans/<installment_code>" \
  -H "public-api-key: <public-api-key>" \
  -H "private-secret-key: <private-secret-key>"
Response
[
  {
    "id": "4d573425-33f9-4c46-b009-2c7e749b0ec7",
    "name": "plan_007",
    "account_id": [
      "f7c5fe77-721b-49c2-84d3-957748df3c2c"
    ],
    "merchant_reference": "Test",
    "installments_plan": [
      {
        "installment": 1,
        "rate": 1,
        "provider_id": "",
        "amount": {
          "currency": "USD",
          "value": "0",
          "total_value": "0"
        }
      }
    ],
    "iin": null,
    "country_code": "US",
    "first_installment_deferral": 0,
    "amount": {
      "currency": "USD",
      "min_value": 0,
      "max_value": 100000000
    },
    "availability": {
      "start_at": "2023-09-12T00:00:00Z",
      "finish_at": "2030-09-20T00:00:00Z"
    },
    "created_at": "2023-10-11T17:52:31.886178Z",
    "updated_at": "2023-10-11T17:52:31.886178Z",
    "payment_method_type": "NU_PAY_ENROLLMENT"
  }
]