Installments

Create an installments plan

Changed on

This service allows you to create customized installment plans for card payments.

post/installments-plans

Request

  • Base URL
    https://api.dlocal.com
  • URL
    https://api.dlocal.com/installments-plans
  • Auth
    API key in header X-Date and API key in header X-Login and API key in header X-Trans-Key and API key in header Content-Type and API key in header X-Version and API key in header User-Agent and API key in header Authorization

Request body

idstring

The installments plan ID.

countrystring required

The country of the installments plan. ISO 3166-1 alpha-2 code.

currencystring required

The currency of the installments plan.

binstring required

The credit card bin.

amountnumber required

The amount of the installments plan.

Response

200

idstring
countrystring
binstring
amountnumber
currencystring

Example response

{
  "id": "INS54434",
  "country": "BR",
  "bin": "435921",
  "amount": 1000,
  "currency": "BRL",
  "installments": [
    {
      "id": "INS54434-1",
      "installment_amount": 1000,
      "installments": 1,
      "total_amount": 1000
    }
  ]
}

Changes

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • warning

      removed the request property

    • info

      api tag Installments added

    • info

      added the new optional request property