Capture {#um-processing-capture-intro}
======================================

Use this information to process a capture. Use the capture service to complete a pre-authorization.  
When a transaction is below the threshold for First Ride Risk protection, use the capture service to capture funds from a declined authorization. For more information, see [First Ride Risk](/docs/cybs/en-us/urban-mobility/developer/cup/rest/mass-transit/um-intro-overview/um-workflow-first-ride-risk.md "").

Endpoint {#um-processing-capture-intro_d7e127}
----------------------------------------------

**Production:** `POST ``https://api.cybersource.com``/pts/v2/payments/`*{id}*`/captures`{#um-processing-capture-intro_d7e136}  
**Test:** `POST ``https://apitest.cybersource.com``/pts/v2/payments/`*{id}*`/captures`{#um-processing-capture-intro_d7e149}  
The *{id}* is the transaction ID returned in the authorization response.

Required Fields for a Capture {#um-processing-capture-reqd-fields}
==================================================================

[clientReferenceInformation.code](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/rest/api-fields/client-ref-info-aa/client-ref-info-code.md "")
:

[orderInformation.amountDetails.currency](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/rest/api-fields/order-info-aa/order-info-amount-details-currency.md "")
:

[orderInformation.amountDetails.totalAmount](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/rest/api-fields/order-info-aa/order-info-amount-details-total-amount.md "")
:

REST Example: Capture {#um-processing-capture-ex-rest-cup}
==========================================================

Request

```
{
   "clientReferenceInformation": {
        "code": "TCCUP1"
    },
   "orderInformation": {
    "amountDetails": {
      "totalAmount": "5",
      "currency": "THB"
    }
  }
}
```

Response to a Successful Request

```
{
    "_links": {
        "void": {
            "method": "POST",
            "href": "/pts/v2/captures/7012404694986081603137/voids"
        },
        "self": {
            "method": "GET",
            "href": "/pts/v2/captures/7012404694986081603137"
        }
    },
    "clientReferenceInformation": {
        "code": "TCCUP1"
    },
    "id": "7012404694986081603137",
    "orderInformation": {
        "amountDetails": {
            "totalAmount": "5.00",
            "currency": "THB"
        }
    },
    "reconciliationId": "333306641171",
    "status": "PENDING",
    "submitTimeUtc": "2023-11-9T06:47:50Z"
}
```

