v1

latestOpenAPI 3.0.02026-07-26167441.9 MB

Update Plan

patch/installments-plans/{installment_code}

Path parameters

installment_codestring required

The unique identifier of the installment plan.

Request body

namestring

The installment plan name (MAX 255; MIN 3)

account_idstring[]

The unique identifier of Yuno's account that will have the installment plan available to use (MAX 64 ; MIN 36).

merchant_referencestring

Identification of the installment plan (MAX 255; MIN 3)

country_codestring

The issuer's country (ISO 3166-1 MAX 2; MIN 2)

schemestring

Card’s scheme information. (MAX 255; MIN 3)

brandstring[]

Card’s brand information (MAX 255; MIN 3).

issuerstring

Card issuer (MAX 255; MIN 3)

iinstring[]

The issuer identification number (IIN) refers to the first few digits of a payment card number issued by a financial institution (MAX 8; MIN 6)

first_installment_deferralinteger

The amount of months to wait to debit the first installment Mas:3

Response

200

idstring
namestring
account_idstring[]
merchant_referencestring
typestring
sourcestring
provider_idstring
schemestring
brandstring[]
issuerstring
issuer_idstring
{"stackTrail":"paths:/installments-plans/{installment_code}:patch:responses:200:content:application/json:schema:properties:iin","oasType":"schema","type":"unknown"}
country_codestring
first_installment_deferralinteger
created_atstring
updated_atstring

Example 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
    }
  ],
  "brand": [
    "VISA"
  ],
  "country_code": "US",
  "amount": {
    "Currency": "USD",
    "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.886178246Z",
  "updated_at": "2023-10-11T17:52:31.886178246Z"
}