FILTER BY TAG

Update an Authorized Payment

Successfully processed authorizations can be updated as follow-on authorizations before you capture or reverse the payment. Follow-on authorizations enable you to update the billing, shipping, itemization, and item break up information of already submitted orders. When updating an authorization, set the
processingInformation.linkId
field to the
id
field value from the original authorization response in order to link your request to the original authorization.

Endpoints

Production:
POST
https://api.cybersource.com
/pts/v2/payments/
Test:
POST
https://apitest.cybersource.com
/pts/v2/payments/

Response Status

The authorization service responds with one of these statuses as the
status
field value:
  • AUTHORIZED
    : The payment is successfully authorized.
  • FAILED
    : The authorization request failed.
  • PENDING
    : The authorization request is accepted but is not authorized. Request the check status service to retrieve status updates. For more information, see Check Status.
The authorization service also responds with a reason code as the field value. For more information about reason codes, see the .

Required Fields for Updating an Authorization

Country-Specific Fields

Include these country-specific field in addition to the required fields listed above.
Non-US Countries
US and Canada
IMPORTANT
The billing state and billing postal code fields are required when the billing country is set to
US
or
CA
.

Example: Updating an Authorized Payment

Request
{ "orderInformation": { "billTo": { "administrativeArea": "TX", "postalCode": "78757", "country": "US" }, "amountDetails": { "totalAmount": "1.00", "currency": "USD" } }, "paymentInformation": { "paymentType": { "name": "INVOICE", "method": { "name": "KLARNA" } } }, "processingInformation": { "actionList": "AP_AUTH", "linkId": "7304002418446743104951" }, "processorInformation":{ "preApprovalToken": "abb1c505-6862-64f8-9bea-df68d3fbe397" } }
Response to a Successful Request
{ "_links": { "authReversal": { "method": "POST", "href": "/pts/v2/payments/7304003239726834704953/reversals" }, "capture": { "method": "POST", "href": "/pts/v2/payments/7304003239726834704953/captures" }, "self": { "method": "POST", "href": "/pts/v2/payments/7304003239726834704953" }, "status": { "method": "POST", "href": "/pts/v2/refresh-payment-status/7304003239726834704953" } }, "clientReferenceInformation": { "code": "1730400324002" }, "id": "7304003239726834704953", "orderInformation": { "invoiceDetails": { "productId": "paylaterbycard" }, "amountDetails": { "totalAmount": "1.00", "currency": "USD" } }, "processorInformation": { "responseDetails": "00003", "transactionId": "778a6b5f-48cb-43dc-b684-68d2540524c2", "responseCode": "00003" }, "reconciliationId": "XFZ552N8J2WJ", "status": "AUTHORIZED", "submitTimeUtc": "2024-10-31T18:45:25Z" }