Capturing a Payment {#samsungpay-capture-procedure}
===================================================

1. Pass the original authorization ID in the URL, and send the service request to `POST https://&lt;``url_prefix``&gt;/v2/payments/{id}/captures`. Use one of these URL prefixes:

   * Test: `apitest.cybersource.com`
   * Production: `api.cybersource.com`
   * Production in India: `api.in.cybersource.com`

   {#samsungpay-capture-procedure_choices_g5g_hln_b1c}

   #### ADDITIONAL INFORMATION

   Where `id` is the authorization ID returned in the authorization response.

   ```
   {
     "id": "6481692924466004003001"
   }
   ```

   The URL with the `id` value is included in the authorization response:

   ```
   {
     "_links": {
       "capture": {
         "method": "POST",
         "href": "/pts/v2/payments/6481692924466004003001/captures"
       }
     }
   ```
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](https://developer.cybersource.com/api/reference/response-codes.md "").

