On This Page
PAN and Authorization Code
When the customer selects an installment plan from the eligible plan options and accepts
the terms and conditions for that plan, you must confirm the selection by requesting the
Select Installment Plan service. A successful response includes an
ACCEPTED
status. IMPORTANT
You must get the customer's consent on the terms and conditions for
the installment plan that they selected.
The Select Installment Plan service requires you to include one of the plan IDs listed in
the Get Installment Plans response. The plan IDs are located in the
installmentInformation.planDetails.planId
fields. PAN Information
To include the customer's PAN in the request, set the
paymentInformation.card.number
field to the customer's card
number.Authorization Code
To link an installment plan to an authorization, set the
processingInformation.authorizationOptions.authorizationCode
field in the select installment plan request to the authorization code from the
authorization request. The authorization code is located in the
processorInformation.approvalCode
field from the
authorization response.Endpoint
Production
: POST
https://api.cybersource.com
/fin/v1/plan-acceptance/Test
: POST
https://apitest.cybersource.com
/fin/v1/plan-acceptance/Required Fields for Selecting an Installment Plan with a PAN
Include these required fields when you request the select an installment plan service with
a PAN.
- Set to the plan ID shown in the get installment plans response as theplanDetails.planIdfield.
- Set to the terms and conditions version number shown in the get installment plans response as theplanDetails.termsAndConditions.versionfield.
- Set to the authorization code shown in the initial authorization response as theprocessorInformation.approvalCodefield.
- Set toVisa.
REST API Example: Select an Installment Plan with a PAN
REST API
Example: Select an Installment Plan with a PANRequest
{ "processingInformation": { "installmentServiceProvider": "Visa", "authorizationOptions": { "authorizationCode": "888889", "authorizationDateTime": "2020-09-02T16:40:45.827Z" } }, "orderInformation": { "amountDetails": { "totalAmount": "500", "currency": "USD" } }, "installmentInformation": { "planId": "1cc80cb6-866d-0a3e-7c52-18f6aced3201", "tcVersion": "1" }, "paymentInformation": { "card": { "number": "4622943127019793" } } }
Response
{ "id": "6892602156176450603955", "submitTimeUtc": "2023-07-13T14:56:55Z", "status": "ACCEPTED", "processorInformation": { "responseCode": "200" }, "paymentInformation": { "paymentAccountReference": { "id": "V0010013020261601352183794986" } }, "installmentInformation": { "id": "e9a14fc4-bc73-e711-bbc0-112debc39d02", "planId": "1cc80cb6-866d-0a3e-7c52-18f6aced3201" } }