Skip to main content
Vindicia Knowledge Center

Fetch a specific refund

Fetch a specific refund

Retrieves a specific Refund.

Route (URL) Parameters

Parameter Default Description Required
transaction n/a The id or the vid of the Transaction Yes
refund n/a The id or the vid of the Transaction Yes

Query Parameters

None.

Accepts

None.

Returns

JSON A full Refund object.

  • cURL
  • Java
Example Request
 curl -X GET \
-u acaff38d462f9430d5cbcbaf:a575771fc679b9de \  
"https://api.prodtest.vindicia.com/transactions/tx_1234/refunds/refund_1234"
 
The above command returns JSON structured like this:
 {
    "object": "Refund",
    "id": "FLX200001561",
    "vid": "64a6bad051bdf489c7cf90ed52fca549c0048d3d",
    "created": "2016-05-24T17:50:47-07:00",
    "transaction": {`...`},
    "refund_distribution_strategy": "None",
    "amount": 14.99,
    "amount_includes_tax": false,
    "currency": "USD",
    "metadata": {`...`},
    "note": "Refund 14.99USD",
    "token_action": "None",
    "status": "Complete"
}
 

import com.vindicia.client.CashBox; CashBox.apiKey = "acaff38d462f9430d5cbcbafa575771fc679b9de"; Refund.fetch("refund_1234"); 
The above command returns JSON structured like this:
{
    "object": "Refund",
    "id": "FLX200001561",
    "vid": "64a6bad051bdf489c7cf90ed52fca549c0048d3d",
    "created": "2016-05-24T17:50:47-07:00",
    "transaction": {`...`},
    "refund_distribution_strategy": "None",
    "amount": 14.99,
    "amount_includes_tax": false,
    "currency": "USD",
    "metadata": {`...`},
    "note": "Refund 14.99USD",
    "token_action": "None",
    "status": "Complete"
}
          

For Users

Learn More
For Users

Cashbox Features

Learn More
Cashbox Features
Back to Top