# General Overview

Whenever a transaction is completed, there are a few actions available based on the type of transaction. The most common use cases include capture, void, and refund.

NOTE

Make sure to use the "https://services.poynt.net" URL for the US environment and "https://services-eu.poynt.net" for the EU environment.

TIP

Remember to place your businessId and transactionId in the corresponding bracket sections in the Request URL

# Capture

Request URL: https://services.poynt.net/businesses/{businessId}/transactions/{transactionId}/capture
Request Method: POST

Request Body:

{} // empty body

# Void

Request URL: https://services.poynt.net/businesses/{businessId}/transactions/{transactionId}/void
Request Method: POST

Request Body:

{} // empty body

# Refund

Request URL: https://services.poynt.net/businesses/{businessId}/transactions
Request Method: POST

Request Body:

{
  "parentId":"fc97caa0-0189-1000-9ac0-b5abb1adefb3",
  "action":"REFUND",
  "fundingSource": {
    "type":"CREDIT_DEBIT"
  }      
}

NOTE

Note: When refunding a transaction that has already been captured or settled, you will need to use the captureId of the transaction in the body. If you wish to perform a partial refund, you will need to pass the amounts object in the request body.

Last Updated: 9/4/2023, 1:28:22 PM