---
updatedAt: 2026-05-27T19:14:56.000Z
agentTools:
  projectIndex: https://docs.bamboopayment.com/llms.txt
---

# Get Purchase Details

Use this endpoint to retrieve the full lifecycle of a purchase, including:

* *The purchase object*
* *All related refunds*
* *Any chargeback tied to the transaction*

***

This is the most complete view of a purchase and is useful for support, reconciliation, and post-settlement analysis.

<Callout icon="📘" theme="info">
  This endpoint provides a consolidated view of the full transaction lifecycle.

  It is ideal for reconciliation, auditing, and support use cases, but is not required for the standard payment flow.
</Callout>

For individual transaction objects (purchase, refund, chargeback), use [GET Transaction](get-transaction#/).

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Gateway.ServiceFacade.API",
    "version": "3"
  },
  "paths": {
    "/v3/api/Purchase/{id}/details": {
      "get": {
        "tags": [
          "Purchase"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseResponseDetail"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseResponseDetail"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseResponseDetail"
                }
              }
            }
          },
          "204": {
            "description": "Success"
          }
        },
        "security": [
          {
            "Authorization": []
          }
        ],
        "summary": "Get Purchase Details"
      }
    }
  },
  "components": {
    "schemas": {
      "CardOnFileReturn": {
        "type": "object",
        "properties": {
          "NetworkTransactionId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CommerceActionReturn": {
        "type": "object",
        "properties": {
          "SessionId": {
            "type": "string",
            "nullable": true
          },
          "URL": {
            "type": "string",
            "nullable": true
          },
          "Reason": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PaymentMethodReturn": {
        "type": "object",
        "properties": {
          "Brand": {
            "type": "string",
            "nullable": true
          },
          "CardOwner": {
            "type": "string",
            "nullable": true
          },
          "Bin": {
            "type": "string",
            "nullable": true
          },
          "IssuerBank": {
            "type": "string",
            "nullable": true
          },
          "Type": {
            "type": "string",
            "nullable": true
          },
          "Expiration": {
            "type": "string",
            "nullable": true
          },
          "Last4": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PurchaseResponse": {
        "type": "object",
        "properties": {
          "ErrorCode": {
            "type": "string",
            "nullable": true
          },
          "ErrorDescription": {
            "type": "string",
            "nullable": true
          },
          "TransactionId": {
            "type": "string",
            "nullable": true
          },
          "Result": {
            "type": "string",
            "nullable": true
          },
          "Status": {
            "type": "string",
            "nullable": true
          },
          "AuthorizationDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "AuthorizationCode": {
            "type": "string",
            "nullable": true
          },
          "MetadataOut": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "Created": {
            "type": "string",
            "format": "date-time"
          },
          "Amount": {
            "type": "integer",
            "format": "int64"
          },
          "Currency": {
            "type": "string",
            "nullable": true
          },
          "Installments": {
            "type": "integer",
            "format": "int32"
          },
          "TaxableAmount": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "Tip": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "Url": {
            "type": "string",
            "nullable": true
          },
          "Action": {
            "$ref": "#/components/schemas/CommerceActionReturn"
          },
          "PaymentMethod": {
            "$ref": "#/components/schemas/PaymentMethodReturn"
          },
          "CardOnFile": {
            "$ref": "#/components/schemas/CardOnFileReturn"
          }
        },
        "additionalProperties": false
      },
      "PurchaseResponseDetail": {
        "type": "object",
        "properties": {
          "Purchase": {
            "$ref": "#/components/schemas/PurchaseResponse"
          },
          "Refunds": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PurchaseResponse"
            },
            "nullable": true
          },
          "Chargeback": {
            "$ref": "#/components/schemas/PurchaseResponse"
          },
          "Status": {
            "type": "string",
            "nullable": true
          },
          "Currency": {
            "type": "string",
            "nullable": true
          },
          "AuthorizationAmount": {
            "type": "integer",
            "format": "int64"
          },
          "CaptureAmount": {
            "type": "integer",
            "format": "int64"
          },
          "RefundAmount": {
            "type": "integer",
            "format": "int64"
          },
          "TaxableAmount": {
            "type": "integer",
            "format": "int64"
          },
          "Language": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "Authorization": {
        "type": "apiKey",
        "description": "Commerce account Private Key",
        "name": "Authorization",
        "in": "header"
      }
    }
  },
  "servers": [
    {
      "url": "https://api.bamboopayment.com"
    }
  ],
  "x-readme": {}
}
```