{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-docs/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["json-schema"]},"type":"markdown"},"seo":{"title":"TransactionDetail","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":["openapi"],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"transactiondetail","__idx":0},"children":["TransactionDetail"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Request parameters for starting a transaction or refunding a transaction."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"swift","header":{"controls":{"copy":{}}},"source":"public struct TransactionDetail: @unchecked Sendable {\n\n  public let amount: String\n\n  public let referenceNumber: String\n\n  public let transactionID: String\n\n  public let posInformation: TyroTapToPaySDK.POSInformation\n\n  public init(\n    amount: String,\n    referenceNumber: String,\n    transactionID: String,\n    posInformation: TyroTapToPaySDK.POSInformation\n  )\n}\n","lang":"swift"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"parameters","__idx":1},"children":["Parameters"]},{"$$mdtype":"Tag","name":"JsonSchema","attributes":{"schema":{"type":"object","properties":{"amount":{"type":"String","description":"The transaction amount in cents e.g. '1325' = $13.25"},"referenceNumber":{"type":"String","description":"The identifier for the transaction and MUST be unique."},"transactionID":{"type":"String","description":"The transaction ID, only set if the payment type is a refund."},"posInformation":{"type":"PosInformation","description":"Information about the POS."}},"required":["amount","referenceNumber","transactionID","posInformation"]},"options":{"schemaExpansionLevel":1},"schemaResolved":{"openapi":"3.1.0","components":{"schemas":{"__root":{"type":"object","properties":{"amount":{"type":"String","description":"The transaction amount in cents e.g. '1325' = $13.25"},"referenceNumber":{"type":"String","description":"The identifier for the transaction and MUST be unique."},"transactionID":{"type":"String","description":"The transaction ID, only set if the payment type is a refund."},"posInformation":{"type":"PosInformation","description":"Information about the POS."}},"required":["amount","referenceNumber","transactionID","posInformation"]}}}},"schemaResolvedErrors":[]},"children":[]}]},"headings":[{"value":"TransactionDetail","id":"transactiondetail","depth":1},{"value":"Parameters","id":"parameters","depth":2}],"frontmatter":{"title":"Transaction Detail","seo":{"title":"TransactionDetail"}},"lastModified":"2026-09-16T02:48:18.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/docs/in-person-payments/tap-to-pay/integration-guide/sdk/ios/sdk/transaction-detail","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}