Menu

Performing a Timeout Reversal Using the REST API

  1. Send the service request to:

    ADDITIONAL INFORMATION

    POST https://<
    url_prefix
    >/v2/payments/{id}/reversals
    Use one of these URL prefixes when
    id
    is the authorization ID returned in the authorization response:
    • Test:
      apitest.cybersource.com
    • Production:
      api.cybersource.com
    • Production in India:
      api.in.cybersource.com
    { "id": "6481692924466004003001" }
    The URL with the ID value is included in the authorization response:
    {     "_links": {         "authReversal": {             "method": "POST",             "href": "/pts/v2/payments/6481692924466004003001/reversals"         },
  2. Check the response message to make sure that the request was successful. A 200-level HTTP response code indicates success. For information about response codes, see Transaction Response Codes.
Back to top