Deprecated API Reference

This API Reference is being deprecated. Please use the New API Reference.

Card Present Capture Authorization

attention

This API is available for Finix Core customers only. If you have additional questions, contact Support.

Copy
Copied
curl https://finix.sandbox-payments-api.com/authorizations/AUuCfRve8QG6G1wnPCReiLma \
   -H "Content-Type: application/json" \
   -H 'Finix-Version: 2022-02-01' \
   -u  USjHFGYvecE4LBitYG8KDE2g:b698f403-d9b7-4157-82d8-162cea8c8cc3 \
   -X PUT \
   -d '
     {
         "capture_amount": 150
     }'

HTTP Request

PUT https://finix.sandbox-payments-api.com/authorizations/:AUTHORIZATION_ID

URL Parameters

Field Type Description
AUTHORIZATION_ID string, required ID of Authorization

Request Arguments

Field Type Description
capture_amount integer, required The amount of the Authorization you would like to capture in cents.
Copy
Copied
{
  "id" : "AUuCfRve8QG6G1wnPCReiLma",
  "created_at" : "2022-10-06T20:22:42.25Z",
  "updated_at" : "2022-10-07T17:09:22.85Z",
  "3ds_redirect_url" : null,
  "additional_buyer_charges" : null,
  "additional_healthcare_data" : null,
  "address_verification" : "POSTAL_CODE_AND_STREET_MATCH",
  "amount" : 150,
  "amount_requested" : 118,
  "application" : "APeUbTUjvYb1CdPXvNcwW1wP",
  "card_present_details" : null,
  "currency" : "USD",
  "device" : "DVf2H8sh4LZZC52GTUrwCPPf",
  "expires_at" : "2022-10-13T20:22:42.25Z",
  "failure_code" : null,
  "failure_message" : null,
  "idempotency_id" : null,
  "is_void" : false,
  "merchant_identity" : "IDsbTBawhnLBAVeinRb84vFR",
  "messages" : [ ],
  "raw" : null,
  "security_code_verification" : "MATCHED",
  "source" : "PIjnHHLBZvRu6GPEZdFt7E2q",
  "state" : "SUCCEEDED",
  "tags" : {
    "order_number" : "chris123transfer"
  },
  "trace_id" : "957ce193-b4e4-4a39-88e2-d88a019982d2",
  "transfer" : "TRjiUo5CXLmaJp4k9PL7iP8z",
  "void_state" : "UNATTEMPTED",
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/authorizations/AUuCfRve8QG6G1wnPCReiLma"
    },
    "application" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APeUbTUjvYb1CdPXvNcwW1wP"
    },
    "transfer" : {
      "href" : "https://finix.sandbox-payments-api.com/transfers/TRjiUo5CXLmaJp4k9PL7iP8z"
    },
    "device" : {
      "href" : "https://finix.sandbox-payments-api.com/devices/DVf2H8sh4LZZC52GTUrwCPPf"
    },
    "merchant_identity" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDsbTBawhnLBAVeinRb84vFR"
    }
  }
}