On This Page
Token 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.
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.
Token Information
Include the token information in the service request with one of these token
identifier fields:
- Flex API transient token:tokenInformation.transientTokenJwt
- TMScustomer token:paymentInformation.customer.id
- TMSinstrument identifier token:paymentInformation.instrumentIdentifier.id
- TMSpayment instrument token:paymentInformation.paymentInstrument.id
- TMStransient token:tokenInformation.jti
For more information about token types, see the Token Types section in the .
Token Management Service
Developer GuideEndpoint
https://api.cybersource.com
/fin/v1/plan-acceptance/cancel/Required Fields for Cancelling with a Network Transaction ID and a Token
- Set to the identifier from theprocessorInformation.networkTransactionIdfield in the authorization response.
- Set toVisa.
Required Token Fields
Include only one of these token identifier fields:
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 and a Token
REST API
Example: Cancel an Installment Plan using a Network Transaction
ID and a TokenRequest
{ "processingInformation": { "installmentServiceProvider": "Visa", "authorizationOptions": { "networkTransactionId": "178896882917745", "authorizationDateTime": "2023-07-25T16:19:14Z" } }, "orderInformation": { "amountDetails": { "totalAmount": "500", "currency": "USD" } }, "paymentInformation": { "instrumentIdentifier": { "id": "7030000000012249793" } } }
Response
{ "id": "6903020670086847503954", "submitTimeUtc": "2023-07-25T16:21:07Z", "status": "ACCEPTED", "processorInformation": { "responseCode": "200" }, "paymentInformation": { "paymentAccountReference": { "id": "V0010013020261601352183794986" } }, "installmentInformation": { "id": "4be11ad6-d0a8-c59a-1a57-1235d7f79302", "planId": "1cc80cb6-866d-0a3e-7c52-18f6aced3201" } }