---
title: "Refund"
method: POST
path: "/v3/api/Purchase/{id}/Refund"
tags: ["Purchase"]
---

# Refund

`POST /v3/api/Purchase/{id}/Refund`

## Request

- Base URL: `https://api.bamboopayment.com`
- URL: `https://api.bamboopayment.com/v3/api/Purchase/{id}/Refund`
- Auth: API key in header `Authorization`

## Path parameters

- `id` integer, required

## Request body

- RefundCommand
  - `Amount` integer
  - `TaxableAmount` integer
  - `MetadataIn` object, nullable
  - `TransactionId` integer

## Response `200`

Success

- RefundResponse
  - `ErrorCode` string, nullable
  - `ErrorDescription` string, nullable
  - `TransactionId` string, nullable
  - `Result` string, nullable
  - `Status` string, nullable
  - `Created` string, date-time, nullable
  - `AuthorizationDate` string, date-time, nullable
  - `AuthorizationCode` string, nullable
  - `Amount` integer, nullable
  - `Currency` string, nullable
  - `MetadataOut` object, nullable

## Other responses

- `400`: Bad Request
- `409`: Conflict

---

[API](https://skmtc.dev/bamboopayment/apis/gateway-servicefacade-api.md) - [All operations](https://skmtc.dev/bamboopayment/apis/gateway-servicefacade-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bamboopayment/apis/gateway-servicefacade-api/revisions/ddfffdaa1e3a?raw)
