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

# Refund

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

## 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/direct-purchase.md) · [All operations](https://skmtc.dev/bamboopayment/apis/direct-purchase/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/bamboopayment/direct-purchase/revisions/10523581e6c2/schema)
