Capture an Authorized Amount

Request capture of an authorization after you've provided the service/good to the customer. Receive funds by referencing the approved authorization in a capture request. Your processor uses the capture request to initiate settlement, resulting in a funds transfer between the customer's credit card account and your bank account.

SecurityApiKeyAuth
Request
header Parameters
IV
required
string

Initialization Vector for database encryption.

Request Body schema:
object (DeviceAndPeripherals)

An object containing the device ID and the ID of any peripherals.

deviceId
string (DeviceId)

The unique identifier for the device.

peripheralId
Array of strings (PeripheralId)

An array containing the IDs of the peripherals used with associated device.

batchName
string (BatchName)

Optional, merchant-assigned name for a batch of transactions. The system creates a default batch name of System for transactions that do not include this element. When used, the value for this element should be stored and passed in the Batch Close transaction.

transactionId
string (Guid)

String created by Pace Software APIs to serve as a unique identifier for different resources. Used in to identify resources in a request or response. Most resources are assigned an id.

amount
number <double> (Amount) [ 0 .. 999999999.99 ]

The TOTAL amount of the transaction.

tipAmount
number <double> (TipAmount) <= 999999999.99

The amount of any tip or gratuity.

object (CustomPropertiesInput)

An object containing user-defined key/value pairs.

property name*
additional property
string
echo
string (Echo)

Returns (echos) a user-provided value in the API response.

Responses
200

OK

400

Bad Request

401

Unauthorized access

403

Access forbidden

409

Conflict.

429

Too Many Requests

post/transactions/capture
Request samples
{
  • "deviceAndPeripherals": {
    },
  • "batchName": "AA-001",
  • "transactionId": "2NQREPK134YN90W",
  • "amount": 2050.99,
  • "tipAmount": 15.45,
  • "userDefinedFields": {
    },
  • "echo": "Hello World"
}
Response samples
{
  • "transactionMetadata": {
    },
  • "result": {
    },
  • "referenceId": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
  • "userDefinedFields": {
    },
  • "cryptoKeys": {
    },
  • "echo": "Hello World"
}
Copyright © Pace Software 2021–2023. All rights reserved.