# Overview

Once a transaction is performed, there are a few actions that can be performed on the transaction based on the type of transaction. The most common use cases include voiding, refunding and capturing a transaction.

# Refund a Sale

Request URL: "https://services-st.poynt.net/businesses/{businessId}/transactions"

Note

Replace "https://services-st.poynt.net" with "https://services.poynt.net" for production
"https://services-eu.poynt.net" for EU

Request Method: POST
Request Body

{
  "action": "REFUND",
  "parentId": "<transactionId of transaction to void>",
  "id": "<random uuid>",
  "amounts:": "https://poynt.com/docs/api/#model-transactionamounts" //(optional for complete transaction refund)
}

TIP

For partial refunds enter the amount in the amount field

# Void an Auth/Sale

Request URL: "https://services-st.poynt.net/businesses/{businessId}/transactions/{transactionID}/void"
Request Method: POST
Request Body:

{} // empty body

# Capture an Auth/Sale

Request URL: "https://services-st.poynt.net/businesses/{businessId}/transactions/{transactionID}/capture"
Request Method: POST
Request Body:

{
  "amounts":{
    "currency":"USD",
    "orderAmount":100,
    "tipAmount":0,
    "transactionAmount":100
  }
}
Last Updated: 10/26/2020, 10:34:36 AM