Skip to main content
Skip table of contents

Get Plans and Installments

The function of this service is to receive a Bin and Currency as get parameters in the URL to return the associated plans and installments.

Environment

EndPoint

Method

Development

https://api.dev.alignet.io/installments

GET

Production

https://api.alignet.io/installments

GET

The Bin and Currency is received as a parameter in the URL:

·Example: https://api.dev.alignet.io/installments/485951/604

Request Headers

Header

Value

Required

ALG-API-VERSION

API version to be used. Available values: 1618440906

Yes

Authorization

Bearer <Access_Token>

Yes

JSON
"ALG-API-VERSION":"1618440906",
"Authorization":"Bearer hbGciOiJSUzI1NsInR5cCI6IkpXVCIsImt………",

Response

Parameter

Description

action

Process performed, in this case it is "retrieve-installments".

success

Result of the operation:

True: processed successfully.

False: not processed successfully.

installments.type.id

Plan ID

installments.type.label

Plan name

installments.share.id

Value of the installment

installments.share.label

Description of the installment

meta.status.code

Code associated with the operation status

meta.status.message_ilgn.locale

Regional settings defining language and country.

meta.status.message_ilgn.value

Message resulting from the process.

JSON
{  
   "action":"retrieve-installments",
   "success":"true",
   "installments":[  
      {  
         "type":{  
            "id":"02",
            "label":"Normal"
         },
         "share":{  
            "id":"002",
            "label":"2 cuotas"
         }
      }
   ],
   "meta":{  
      "status":{  
         "code":"00",
         "message_ilgn":[  
            {  
               "value":"Se hallo planes y cuotas",
               "locale":"es_PE"
            }
         ]
      }
   }
}

Continue to Authorize Transaction ➡️

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.