On This Page
PAN and NTID
You can cancel an installment plan with the network transaction ID from the initial
authorization. Include the network transaction ID in the cancellation request with the
processingInformation.authorizationOptions.networkTransactionId
field value. Cancelling an installment plan with a network transaction ID also requires you to have
included the network transaction ID in the select an installment plan request.
IMPORTANT
It is required to cancel an installment plan after the
initial authorization is either refunded or reversed after a select installment plan
request has been sent. This ensures the customer does not receive any future installment
plan charges.
PAN Information
To include the customer's PAN in the request, set the
paymentInformation.card.number
field to the customer's card
number.Endpoint
Production
: POST
https://api.cybersource.com
/fin/v1/plan-acceptance/cancel/Test
: POST
https://apitest.cybersource.com
/fin/v1/plan-acceptance/cancel/Required Fields for Cancelling with a Network Transaction ID
Include these fields when you are using a network transaction ID to cancel the installment
plan.
- Set to the identifier from theprocessorInformation.networkTransactionIdfield in the authorization response.
- Set toVisa.
Required Field for a Partial Refund
For a partial refund, include this required field in addition to the other required
fields.
- Include this field for a partial refund. The amount of the refund must be less than the total order amount. The value should include a decimal with two places, for example,60.01.
REST API Example: Cancel an Installment Plan using a Network Transaction ID
REST API
Example: Cancel an Installment Plan using a Network Transaction IDRequest
{ "processingInformation": { "installmentServiceProvider": "Visa", "authorizationOptions": { "networkTransactionId": "178896882917784", "authorizationDateTime": "2020-09-02T16:40:45.827Z" } }, "orderInformation": { "amountDetails": { "totalAmount": "500", "currency": "USD" } }, "paymentInformation": { "card": { "number": "4622943127019793" } } }
Response
{ "id": "6892596521746405203955", "submitTimeUtc": "2023-07-13T14:47:32Z", "status": "ACCEPTED", "processorInformation": { "responseCode": "200" }, "paymentInformation": { "paymentAccountReference": { "id": "V0010013020261601352183794986" } }, "installmentInformation": { "id": "00d531c8-ad93-71a5-f53a-1737c58cd202", "planId": "1cc80cb6-866d-0a3e-7c52-18f6aced3201" } }