Learn how to set up a Postman collection for the Transaction Details API
The Postman collection for the Reach Transaction Details API includes ready-made requests to test sending your tax and transaction data to Reach. Import the Transaction Details API collection file and the environment collection files to try the API before building your integration.
Import the Transaction Details API collection
First, import the Postman collection file in JSON format by completing the following steps:
-
Click the button to open the JSON file in Google Drive and download the file.
- In Postman, click Use resources or import, then select Import.
- In the Use Resources window in Postman, click files under the Drop anywhere to import section.
- Select the Transaction Details API collection file from your computer.
Alternatively, open the following and copy the collection file. Paste it into the text box on the Use Resources window
Transaction Details API collection file
{
"info": {
"_postman_id": "5c29eefe-1a6f-44ff-91f1-a51262737b18",
"name": "Transaction Details API",
"description": "Sample requests for the Reach **Transaction Details API** (`POST /v2/transaction-details`). Use it to send Reach the tax breakdown of a sale or refund that your own platform calculated.\n\nThe API has two modes:\n- **Tax linking:** for payments Reach processed. Send `PspTransactionId` and `PspName` so Reach can match the submission to the payment.\n- **Tax only:** for sales Reach didn't process. Leave out `PspTransactionId` and `PspName`, and identify the order by `Reference`.\n\n**Authentication:** every request uses HTTP Basic authentication with your `username` and `password`, plus the `Reach-Merchant-Id` header. Set `apiBaseUrl`, `username`, `password` and `merchantId` in your Reach Sandbox or Production environment.\n\nEach item's `TaxAmount` must equal the sum of its `ItemTaxes[].TaxAmount`, within 0.01. Refunds use negative amounts.\n\nA valid request returns `202 Accepted` with no body, even when Reach discards it as a duplicate. Reach detects duplicates by `PspTransactionId` in tax linking and by `TaxProviderId` in Tax only. To resend a request, change that ID.",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Submit Transaction Details - Single Item",
"event": [
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
"pm.test('Accepted (202)', () => pm.expect(pm.response.code).to.be.oneOf([200, 202]));"
]
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Reach-Merchant-Id",
"value": "{{merchantId}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"PspTransactionId\": \"5TEST000PAYMENT01\",\n \"PspName\": \"PAYPAL\",\n \"Reference\": \"TEST-ORDER-1001\",\n \"Currency\": \"USD\",\n \"ShippingAddress\": {\n \"Street\": \"123 Main St\",\n \"City\": \"Pittsburgh\",\n \"Region\": \"PA\",\n \"Country\": \"US\",\n \"Postcode\": \"15222\"\n },\n \"TaxProviderId\": \"txn-8a7f808a\",\n \"TaxProviderReferenceId\": \"TEST-INV-1001\",\n \"TaxDate\": \"2026-03-10T15:30:00\",\n \"Items\": [\n {\n \"Sku\": \"PREMIUM-MONTHLY\",\n \"Description\": \"Premium Streaming Bundle - Monthly\",\n \"Quantity\": 1,\n \"Amount\": 20,\n \"ProviderTaxCode\": \"SW056789\",\n \"ProviderTaxCategory\": \"DIGITAL_STREAMING\",\n \"ProviderParentTaxCategory\": \"DIGITAL_GOODS\",\n \"TaxAmount\": 1.4,\n \"ItemTaxes\": [\n {\n \"Name\": \"Pennsylvania State Sales Tax\",\n \"Type\": \"SALES\",\n \"JurisdictionName\": \"Pennsylvania\",\n \"JurisdictionLevel\": \"STATE\",\n \"JurisdictionCountryCode\": \"US\",\n \"JurisdictionRegionCode\": \"PA\",\n \"TaxableAmount\": 20,\n \"NonTaxableAmount\": 0,\n \"TaxRate\": 0.06,\n \"TaxAmount\": 1.2,\n \"TransactionType\": 19,\n \"ServiceType\": 6\n },\n {\n \"Name\": \"Allegheny County Sales Tax\",\n \"Type\": \"SALES\",\n \"JurisdictionName\": \"Allegheny County\",\n \"JurisdictionLevel\": \"COUNTY\",\n \"JurisdictionCountryCode\": \"US\",\n \"JurisdictionRegionCode\": \"PA\",\n \"TaxableAmount\": 20,\n \"NonTaxableAmount\": 0,\n \"TaxRate\": 0.01,\n \"TaxAmount\": 0.2,\n \"TransactionType\": 19,\n \"ServiceType\": 6\n }\n ]\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{apiBaseUrl}}/v2/transaction-details",
"host": [
"{{apiBaseUrl}}"
],
"path": [
"v2",
"transaction-details"
]
},
"description": "Submits tax details for a payment that Reach processed (tax linking). This example has one item, taxed by two jurisdictions: Pennsylvania state sales tax and Allegheny County sales tax.\n\nReach matches the submission to the payment using `PspTransactionId` and `PspName`. Set `PspTransactionId` to the ID your PSP returned for the payment. See the [PspTransactionId mapping](https://docs.withreach.com/reference/transaction-details#the-psptransactionid-field). You can send the submission before or after Reach receives the payment.\n\nEach item's `TaxAmount` must equal the sum of its `ItemTaxes[].TaxAmount`, within 0.01. In this example, 1.20 + 0.20 = 1.40.\n\nA successful request returns `202 Accepted` with no body. Reach uses `PspTransactionId` to detect duplicates: if you send the same `PspTransactionId` again, Reach returns `202` but discards the submission. To send this request more than once, change `PspTransactionId`."
},
"response": [
{
"name": "202 Accepted",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Reach-Merchant-Id",
"value": "{{merchantId}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"PspTransactionId\": \"5TEST000PAYMENT01\",\n \"PspName\": \"PAYPAL\",\n \"Reference\": \"TEST-ORDER-1001\",\n \"Currency\": \"USD\",\n \"ShippingAddress\": {\n \"Street\": \"123 Main St\",\n \"City\": \"Pittsburgh\",\n \"Region\": \"PA\",\n \"Country\": \"US\",\n \"Postcode\": \"15222\"\n },\n \"TaxProviderId\": \"txn-8a7f808a\",\n \"TaxProviderReferenceId\": \"TEST-INV-1001\",\n \"TaxDate\": \"2026-03-10T15:30:00\",\n \"Items\": [\n {\n \"Sku\": \"PREMIUM-MONTHLY\",\n \"Description\": \"Premium Streaming Bundle - Monthly\",\n \"Quantity\": 1,\n \"Amount\": 20,\n \"ProviderTaxCode\": \"SW056789\",\n \"ProviderTaxCategory\": \"DIGITAL_STREAMING\",\n \"ProviderParentTaxCategory\": \"DIGITAL_GOODS\",\n \"TaxAmount\": 1.4,\n \"ItemTaxes\": [\n {\n \"Name\": \"Pennsylvania State Sales Tax\",\n \"Type\": \"SALES\",\n \"JurisdictionName\": \"Pennsylvania\",\n \"JurisdictionLevel\": \"STATE\",\n \"JurisdictionCountryCode\": \"US\",\n \"JurisdictionRegionCode\": \"PA\",\n \"TaxableAmount\": 20,\n \"NonTaxableAmount\": 0,\n \"TaxRate\": 0.06,\n \"TaxAmount\": 1.2,\n \"TransactionType\": 19,\n \"ServiceType\": 6\n },\n {\n \"Name\": \"Allegheny County Sales Tax\",\n \"Type\": \"SALES\",\n \"JurisdictionName\": \"Allegheny County\",\n \"JurisdictionLevel\": \"COUNTY\",\n \"JurisdictionCountryCode\": \"US\",\n \"JurisdictionRegionCode\": \"PA\",\n \"TaxableAmount\": 20,\n \"NonTaxableAmount\": 0,\n \"TaxRate\": 0.01,\n \"TaxAmount\": 0.2,\n \"TransactionType\": 19,\n \"ServiceType\": 6\n }\n ]\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{apiBaseUrl}}/v2/transaction-details",
"host": [
"{{apiBaseUrl}}"
],
"path": [
"v2",
"transaction-details"
]
}
},
"status": "Accepted",
"code": 202,
"_postman_previewlanguage": "text",
"header": [
{
"key": ":status",
"value": "202"
},
{
"key": "date",
"value": "Thu, 03 Dec 2026 18:08:28 GMT"
},
{
"key": "vary",
"value": "Origin, Access-Control-Request-Method, Access-Control-Request-Headers"
},
{
"key": "x-content-type-options",
"value": "nosniff"
},
{
"key": "x-xss-protection",
"value": "0"
},
{
"key": "cache-control",
"value": "no-cache, no-store, max-age=0, must-revalidate"
},
{
"key": "pragma",
"value": "no-cache"
},
{
"key": "expires",
"value": "0"
},
{
"key": "strict-transport-security",
"value": "max-age=31536000 ; includeSubDomains"
},
{
"key": "x-frame-options",
"value": "DENY"
},
{
"key": "referrer-policy",
"value": "no-referrer"
},
{
"key": "content-security-policy",
"value": "default-src 'self' https:; font-src 'self' https: data:; img-src 'self' https: data:; object-src 'none'; script-src https:; style-src 'self' https: 'unsafe-inline'"
},
{
"key": "x-download-options",
"value": "noopen"
},
{
"key": "x-permitted-cross-domain-policies",
"value": "none"
}
],
"cookie": [],
"body": ""
},
{
"name": "400 Bad Request - Invalid PspName",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Reach-Merchant-Id",
"value": "{{merchantId}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"PspTransactionId\": \"5TEST000PAYMENT01\",\n \"PspName\": \"ExamplePSP\",\n \"Reference\": \"TEST-ORDER-1001\",\n \"Currency\": \"USD\",\n \"ShippingAddress\": {\n \"Street\": \"123 Main St\",\n \"City\": \"Pittsburgh\",\n \"Region\": \"PA\",\n \"Country\": \"US\",\n \"Postcode\": \"15222\"\n },\n \"TaxProviderId\": \"txn-8a7f808a\",\n \"TaxProviderReferenceId\": \"TEST-INV-1001\",\n \"TaxDate\": \"2026-03-10T15:30:00\",\n \"Items\": [\n {\n \"Sku\": \"PREMIUM-MONTHLY\",\n \"Description\": \"Premium Streaming Bundle - Monthly\",\n \"Quantity\": 1,\n \"Amount\": 20,\n \"ProviderTaxCode\": \"SW056789\",\n \"ProviderTaxCategory\": \"DIGITAL_STREAMING\",\n \"ProviderParentTaxCategory\": \"DIGITAL_GOODS\",\n \"TaxAmount\": 1.4,\n \"ItemTaxes\": [\n {\n \"Name\": \"Pennsylvania State Sales Tax\",\n \"Type\": \"SALES\",\n \"JurisdictionName\": \"Pennsylvania\",\n \"JurisdictionLevel\": \"STATE\",\n \"JurisdictionCountryCode\": \"US\",\n \"JurisdictionRegionCode\": \"PA\",\n \"TaxableAmount\": 20,\n \"NonTaxableAmount\": 0,\n \"TaxRate\": 0.06,\n \"TaxAmount\": 1.2,\n \"TransactionType\": 19,\n \"ServiceType\": 6\n },\n {\n \"Name\": \"Allegheny County Sales Tax\",\n \"Type\": \"SALES\",\n \"JurisdictionName\": \"Allegheny County\",\n \"JurisdictionLevel\": \"COUNTY\",\n \"JurisdictionCountryCode\": \"US\",\n \"JurisdictionRegionCode\": \"PA\",\n \"TaxableAmount\": 20,\n \"NonTaxableAmount\": 0,\n \"TaxRate\": 0.01,\n \"TaxAmount\": 0.2,\n \"TransactionType\": 19,\n \"ServiceType\": 6\n }\n ]\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{apiBaseUrl}}/v2/transaction-details",
"host": [
"{{apiBaseUrl}}"
],
"path": [
"v2",
"transaction-details"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "json",
"header": [
{
"key": ":status",
"value": "400"
},
{
"key": "date",
"value": "Thu, 03 Dec 2026 20:14:22 GMT"
},
{
"key": "content-type",
"value": "application/json"
},
{
"key": "vary",
"value": "Origin, Access-Control-Request-Method, Access-Control-Request-Headers"
},
{
"key": "x-content-type-options",
"value": "nosniff"
},
{
"key": "x-xss-protection",
"value": "0"
},
{
"key": "cache-control",
"value": "no-cache, no-store, max-age=0, must-revalidate"
},
{
"key": "pragma",
"value": "no-cache"
},
{
"key": "expires",
"value": "0"
},
{
"key": "strict-transport-security",
"value": "max-age=31536000 ; includeSubDomains"
},
{
"key": "x-frame-options",
"value": "DENY"
},
{
"key": "referrer-policy",
"value": "no-referrer"
},
{
"key": "content-security-policy",
"value": "default-src 'self' https:; font-src 'self' https: data:; img-src 'self' https: data:; object-src 'none'; script-src https:; style-src 'self' https: 'unsafe-inline'"
},
{
"key": "x-download-options",
"value": "noopen"
},
{
"key": "x-permitted-cross-domain-policies",
"value": "none"
}
],
"cookie": [],
"body": "{\n \"Code\": \"INVALID_REQUEST\",\n \"FieldErrors\": [\n {\n \"Code\": \"VALIDATION_ERROR\",\n \"Field\": \"PspName\",\n \"Message\": \"Field must be any of: ADYEN, PAYPAL, KLARNA, STRIPE, CHECKOUT\"\n }\n ],\n \"Message\": \"invalid request syntax\"\n}"
},
{
"name": "400 Bad Request - Tax Sum Mismatch",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Reach-Merchant-Id",
"value": "{{merchantId}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"PspTransactionId\": \"5TEST000PAYMENT01\",\n \"PspName\": \"PAYPAL\",\n \"Reference\": \"TEST-ORDER-1001\",\n \"Currency\": \"USD\",\n \"ShippingAddress\": {\n \"Street\": \"123 Main St\",\n \"City\": \"Pittsburgh\",\n \"Region\": \"PA\",\n \"Country\": \"US\",\n \"Postcode\": \"15222\"\n },\n \"TaxProviderId\": \"txn-8a7f808a\",\n \"TaxProviderReferenceId\": \"TEST-INV-1001\",\n \"TaxDate\": \"2026-03-10T15:30:00\",\n \"Items\": [\n {\n \"Sku\": \"PREMIUM-MONTHLY\",\n \"Description\": \"Premium Streaming Bundle - Monthly\",\n \"Quantity\": 1,\n \"Amount\": 20,\n \"ProviderTaxCode\": \"SW056789\",\n \"ProviderTaxCategory\": \"DIGITAL_STREAMING\",\n \"ProviderParentTaxCategory\": \"DIGITAL_GOODS\",\n \"TaxAmount\": 1.4,\n \"ItemTaxes\": [\n {\n \"Name\": \"Pennsylvania State Sales Tax\",\n \"Type\": \"SALES\",\n \"JurisdictionName\": \"Pennsylvania\",\n \"JurisdictionLevel\": \"STATE\",\n \"JurisdictionCountryCode\": \"US\",\n \"JurisdictionRegionCode\": \"PA\",\n \"TaxableAmount\": 20,\n \"NonTaxableAmount\": 0,\n \"TaxRate\": 0.06,\n \"TaxAmount\": 2.2,\n \"TransactionType\": 19,\n \"ServiceType\": 6\n },\n {\n \"Name\": \"Allegheny County Sales Tax\",\n \"Type\": \"SALES\",\n \"JurisdictionName\": \"Allegheny County\",\n \"JurisdictionLevel\": \"COUNTY\",\n \"JurisdictionCountryCode\": \"US\",\n \"JurisdictionRegionCode\": \"PA\",\n \"TaxableAmount\": 20,\n \"NonTaxableAmount\": 0,\n \"TaxRate\": 0.01,\n \"TaxAmount\": 0.2,\n \"TransactionType\": 19,\n \"ServiceType\": 6\n }\n ]\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{apiBaseUrl}}/v2/transaction-details",
"host": [
"{{apiBaseUrl}}"
],
"path": [
"v2",
"transaction-details"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "json",
"header": [
{
"key": ":status",
"value": "400"
},
{
"key": "date",
"value": "Thu, 03 Dec 2026 22:05:19 GMT"
},
{
"key": "content-type",
"value": "application/json"
},
{
"key": "vary",
"value": "Origin, Access-Control-Request-Method, Access-Control-Request-Headers"
},
{
"key": "x-content-type-options",
"value": "nosniff"
},
{
"key": "x-xss-protection",
"value": "0"
},
{
"key": "cache-control",
"value": "no-cache, no-store, max-age=0, must-revalidate"
},
{
"key": "pragma",
"value": "no-cache"
},
{
"key": "expires",
"value": "0"
},
{
"key": "strict-transport-security",
"value": "max-age=31536000 ; includeSubDomains"
},
{
"key": "x-frame-options",
"value": "DENY"
},
{
"key": "referrer-policy",
"value": "no-referrer"
},
{
"key": "content-security-policy",
"value": "default-src 'self' https:; font-src 'self' https: data:; img-src 'self' https: data:; object-src 'none'; script-src https:; style-src 'self' https: 'unsafe-inline'"
},
{
"key": "x-download-options",
"value": "noopen"
},
{
"key": "x-permitted-cross-domain-policies",
"value": "none"
}
],
"cookie": [],
"body": "{\n \"Code\": \"INVALID_REQUEST\",\n \"FieldErrors\": [\n {\n \"Code\": \"VALIDATION_ERROR\",\n \"Field\": \"Items[0].TaxAmount\",\n \"Message\": \"Item.TaxAmount must equal sum of ItemTaxes[].TaxAmount within tolerance\"\n }\n ],\n \"Message\": \"invalid request syntax\"\n}"
}
]
},
{
"name": "Submit Transaction Details - Multiple Items",
"event": [
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
"pm.test('Accepted (202)', () => pm.expect(pm.response.code).to.be.oneOf([200, 202]));"
]
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Reach-Merchant-Id",
"value": "{{merchantId}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"PspTransactionId\": \"5TEST000PAYMENT02\",\n \"PspName\": \"PAYPAL\",\n \"Reference\": \"TEST-ORDER-1002\",\n \"Currency\": \"USD\",\n \"ShippingAddress\": {\n \"Street\": \"123 Main St\",\n \"City\": \"Pittsburgh\",\n \"Region\": \"PA\",\n \"Country\": \"US\",\n \"Postcode\": \"15222\"\n },\n \"TaxProviderId\": \"tax-txn-3b71c0d2\",\n \"TaxProviderReferenceId\": \"TEST-INV-1002\",\n \"TaxDate\": \"2026-03-10T15:30:00\",\n \"Items\": [\n {\n \"Sku\": \"STREAM-PREMIUM-MONTHLY\",\n \"Description\": \"Premium Streaming Plan - Monthly\",\n \"Quantity\": 1,\n \"Amount\": 20,\n \"ProviderTaxCode\": \"SW056789\",\n \"ProviderTaxCategory\": \"DIGITAL_STREAMING\",\n \"ProviderParentTaxCategory\": \"DIGITAL_GOODS\",\n \"TaxAmount\": 1.4,\n \"ItemTaxes\": [\n {\n \"Name\": \"Pennsylvania State Sales Tax\",\n \"Type\": \"SALES\",\n \"JurisdictionName\": \"Pennsylvania\",\n \"JurisdictionLevel\": \"STATE\",\n \"JurisdictionCountryCode\": \"US\",\n \"JurisdictionRegionCode\": \"PA\",\n \"TaxableAmount\": 20,\n \"NonTaxableAmount\": 0,\n \"TaxRate\": 0.06,\n \"TaxAmount\": 1.2,\n \"TransactionType\": 19,\n \"ServiceType\": 6\n },\n {\n \"Name\": \"Allegheny County Sales Tax\",\n \"Type\": \"SALES\",\n \"JurisdictionName\": \"Allegheny County\",\n \"JurisdictionLevel\": \"COUNTY\",\n \"JurisdictionCountryCode\": \"US\",\n \"JurisdictionRegionCode\": \"PA\",\n \"TaxableAmount\": 20,\n \"NonTaxableAmount\": 0,\n \"TaxRate\": 0.01,\n \"TaxAmount\": 0.2,\n \"TransactionType\": 19,\n \"ServiceType\": 6\n }\n ]\n },\n {\n \"Sku\": \"STREAM-SPORTS-ADDON\",\n \"Description\": \"Sports Add-On - Monthly\",\n \"Quantity\": 1,\n \"Amount\": 15,\n \"ProviderTaxCode\": \"SW056789\",\n \"ProviderTaxCategory\": \"DIGITAL_STREAMING\",\n \"ProviderParentTaxCategory\": \"DIGITAL_GOODS\",\n \"TaxAmount\": 1.05,\n \"ItemTaxes\": [\n {\n \"Name\": \"Pennsylvania State Sales Tax\",\n \"Type\": \"SALES\",\n \"JurisdictionName\": \"Pennsylvania\",\n \"JurisdictionLevel\": \"STATE\",\n \"JurisdictionCountryCode\": \"US\",\n \"JurisdictionRegionCode\": \"PA\",\n \"TaxableAmount\": 15,\n \"NonTaxableAmount\": 0,\n \"TaxRate\": 0.06,\n \"TaxAmount\": 0.9,\n \"TransactionType\": 19,\n \"ServiceType\": 6\n },\n {\n \"Name\": \"Allegheny County Sales Tax\",\n \"Type\": \"SALES\",\n \"JurisdictionName\": \"Allegheny County\",\n \"JurisdictionLevel\": \"COUNTY\",\n \"JurisdictionCountryCode\": \"US\",\n \"JurisdictionRegionCode\": \"PA\",\n \"TaxableAmount\": 15,\n \"NonTaxableAmount\": 0,\n \"TaxRate\": 0.01,\n \"TaxAmount\": 0.15,\n \"TransactionType\": 19,\n \"ServiceType\": 6\n }\n ]\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{apiBaseUrl}}/v2/transaction-details",
"host": [
"{{apiBaseUrl}}"
],
"path": [
"v2",
"transaction-details"
]
},
"description": "Submits tax details for a payment with two items. Each item has its own tax breakdown, and each item's `TaxAmount` must equal the sum of its `ItemTaxes[].TaxAmount`.\n\nEvery payment needs its own `PspTransactionId`. If you reuse one, Reach returns `202` but discards the submission."
},
"response": [
{
"name": "202 Accepted",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Reach-Merchant-Id",
"value": "{{merchantId}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"PspTransactionId\": \"5TEST000PAYMENT02\",\n \"PspName\": \"PAYPAL\",\n \"Reference\": \"TEST-ORDER-1002\",\n \"Currency\": \"USD\",\n \"ShippingAddress\": {\n \"Street\": \"123 Main St\",\n \"City\": \"Pittsburgh\",\n \"Region\": \"PA\",\n \"Country\": \"US\",\n \"Postcode\": \"15222\"\n },\n \"TaxProviderId\": \"tax-txn-3b71c0d2\",\n \"TaxProviderReferenceId\": \"TEST-INV-1002\",\n \"TaxDate\": \"2026-03-10T15:30:00\",\n \"Items\": [\n {\n \"Sku\": \"STREAM-PREMIUM-MONTHLY\",\n \"Description\": \"Premium Streaming Plan - Monthly\",\n \"Quantity\": 1,\n \"Amount\": 20,\n \"ProviderTaxCode\": \"SW056789\",\n \"ProviderTaxCategory\": \"DIGITAL_STREAMING\",\n \"ProviderParentTaxCategory\": \"DIGITAL_GOODS\",\n \"TaxAmount\": 1.4,\n \"ItemTaxes\": [\n {\n \"Name\": \"Pennsylvania State Sales Tax\",\n \"Type\": \"SALES\",\n \"JurisdictionName\": \"Pennsylvania\",\n \"JurisdictionLevel\": \"STATE\",\n \"JurisdictionCountryCode\": \"US\",\n \"JurisdictionRegionCode\": \"PA\",\n \"TaxableAmount\": 20,\n \"NonTaxableAmount\": 0,\n \"TaxRate\": 0.06,\n \"TaxAmount\": 1.2,\n \"TransactionType\": 19,\n \"ServiceType\": 6\n },\n {\n \"Name\": \"Allegheny County Sales Tax\",\n \"Type\": \"SALES\",\n \"JurisdictionName\": \"Allegheny County\",\n \"JurisdictionLevel\": \"COUNTY\",\n \"JurisdictionCountryCode\": \"US\",\n \"JurisdictionRegionCode\": \"PA\",\n \"TaxableAmount\": 20,\n \"NonTaxableAmount\": 0,\n \"TaxRate\": 0.01,\n \"TaxAmount\": 0.2,\n \"TransactionType\": 19,\n \"ServiceType\": 6\n }\n ]\n },\n {\n \"Sku\": \"STREAM-SPORTS-ADDON\",\n \"Description\": \"Sports Add-On - Monthly\",\n \"Quantity\": 1,\n \"Amount\": 15,\n \"ProviderTaxCode\": \"SW056789\",\n \"ProviderTaxCategory\": \"DIGITAL_STREAMING\",\n \"ProviderParentTaxCategory\": \"DIGITAL_GOODS\",\n \"TaxAmount\": 1.05,\n \"ItemTaxes\": [\n {\n \"Name\": \"Pennsylvania State Sales Tax\",\n \"Type\": \"SALES\",\n \"JurisdictionName\": \"Pennsylvania\",\n \"JurisdictionLevel\": \"STATE\",\n \"JurisdictionCountryCode\": \"US\",\n \"JurisdictionRegionCode\": \"PA\",\n \"TaxableAmount\": 15,\n \"NonTaxableAmount\": 0,\n \"TaxRate\": 0.06,\n \"TaxAmount\": 0.9,\n \"TransactionType\": 19,\n \"ServiceType\": 6\n },\n {\n \"Name\": \"Allegheny County Sales Tax\",\n \"Type\": \"SALES\",\n \"JurisdictionName\": \"Allegheny County\",\n \"JurisdictionLevel\": \"COUNTY\",\n \"JurisdictionCountryCode\": \"US\",\n \"JurisdictionRegionCode\": \"PA\",\n \"TaxableAmount\": 15,\n \"NonTaxableAmount\": 0,\n \"TaxRate\": 0.01,\n \"TaxAmount\": 0.15,\n \"TransactionType\": 19,\n \"ServiceType\": 6\n }\n ]\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{apiBaseUrl}}/v2/transaction-details",
"host": [
"{{apiBaseUrl}}"
],
"path": [
"v2",
"transaction-details"
]
}
},
"status": "Accepted",
"code": 202,
"_postman_previewlanguage": "text",
"header": [
{
"key": ":status",
"value": "202"
},
{
"key": "date",
"value": "Thu, 03 Dec 2026 20:23:31 GMT"
},
{
"key": "vary",
"value": "Origin, Access-Control-Request-Method, Access-Control-Request-Headers"
},
{
"key": "x-content-type-options",
"value": "nosniff"
},
{
"key": "x-xss-protection",
"value": "0"
},
{
"key": "cache-control",
"value": "no-cache, no-store, max-age=0, must-revalidate"
},
{
"key": "pragma",
"value": "no-cache"
},
{
"key": "expires",
"value": "0"
},
{
"key": "strict-transport-security",
"value": "max-age=31536000 ; includeSubDomains"
},
{
"key": "x-frame-options",
"value": "DENY"
},
{
"key": "referrer-policy",
"value": "no-referrer"
},
{
"key": "content-security-policy",
"value": "default-src 'self' https:; font-src 'self' https: data:; img-src 'self' https: data:; object-src 'none'; script-src https:; style-src 'self' https: 'unsafe-inline'"
},
{
"key": "x-download-options",
"value": "noopen"
},
{
"key": "x-permitted-cross-domain-policies",
"value": "none"
}
],
"cookie": [],
"body": ""
}
]
},
{
"name": "Submit Refund / Reversal",
"event": [
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
"pm.test('Accepted (202)', () => pm.expect(pm.response.code).to.be.oneOf([200, 202]));"
]
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Reach-Merchant-Id",
"value": "{{merchantId}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"PspTransactionId\": \"9TEST000REFUND002\",\n \"PspName\": \"PAYPAL\",\n \"ParentPspTransactionId\": \"5TEST000PAYMENT02\",\n \"Reference\": \"TEST-REFUND-1002\",\n \"Currency\": \"USD\",\n \"ShippingAddress\": {\n \"Street\": \"123 Main St\",\n \"City\": \"Pittsburgh\",\n \"Region\": \"PA\",\n \"Country\": \"US\",\n \"Postcode\": \"15222\"\n },\n \"TaxProviderId\": \"tax-txn-5e90a4f7\",\n \"TaxProviderReferenceId\": \"TEST-CRN-1002\",\n \"TaxDate\": \"2026-03-12T10:00:00\",\n \"Items\": [\n {\n \"Sku\": \"STREAM-PREMIUM-MONTHLY\",\n \"Description\": \"Premium Streaming Plan - Monthly (Refund)\",\n \"Quantity\": 1,\n \"Amount\": -20,\n \"ProviderTaxCode\": \"SW056789\",\n \"ProviderTaxCategory\": \"DIGITAL_STREAMING\",\n \"ProviderParentTaxCategory\": \"DIGITAL_GOODS\",\n \"TaxAmount\": -1.4,\n \"ItemTaxes\": [\n {\n \"Name\": \"Pennsylvania State Sales Tax\",\n \"Type\": \"SALES\",\n \"JurisdictionName\": \"Pennsylvania\",\n \"JurisdictionLevel\": \"STATE\",\n \"JurisdictionCountryCode\": \"US\",\n \"JurisdictionRegionCode\": \"PA\",\n \"TaxableAmount\": -20,\n \"NonTaxableAmount\": 0,\n \"TaxRate\": 0.06,\n \"TaxAmount\": -1.2,\n \"TransactionType\": 19,\n \"ServiceType\": 6\n },\n {\n \"Name\": \"Allegheny County Sales Tax\",\n \"Type\": \"SALES\",\n \"JurisdictionName\": \"Allegheny County\",\n \"JurisdictionLevel\": \"COUNTY\",\n \"JurisdictionCountryCode\": \"US\",\n \"JurisdictionRegionCode\": \"PA\",\n \"TaxableAmount\": -20,\n \"NonTaxableAmount\": 0,\n \"TaxRate\": 0.01,\n \"TaxAmount\": -0.2,\n \"TransactionType\": 19,\n \"ServiceType\": 6\n }\n ]\n },\n {\n \"Sku\": \"STREAM-SPORTS-ADDON\",\n \"Description\": \"Sports Add-On - Monthly (Refund)\",\n \"Quantity\": 1,\n \"Amount\": -15,\n \"ProviderTaxCode\": \"SW056789\",\n \"ProviderTaxCategory\": \"DIGITAL_STREAMING\",\n \"ProviderParentTaxCategory\": \"DIGITAL_GOODS\",\n \"TaxAmount\": -1.05,\n \"ItemTaxes\": [\n {\n \"Name\": \"Pennsylvania State Sales Tax\",\n \"Type\": \"SALES\",\n \"JurisdictionName\": \"Pennsylvania\",\n \"JurisdictionLevel\": \"STATE\",\n \"JurisdictionCountryCode\": \"US\",\n \"JurisdictionRegionCode\": \"PA\",\n \"TaxableAmount\": -15,\n \"NonTaxableAmount\": 0,\n \"TaxRate\": 0.06,\n \"TaxAmount\": -0.9,\n \"TransactionType\": 19,\n \"ServiceType\": 6\n },\n {\n \"Name\": \"Allegheny County Sales Tax\",\n \"Type\": \"SALES\",\n \"JurisdictionName\": \"Allegheny County\",\n \"JurisdictionLevel\": \"COUNTY\",\n \"JurisdictionCountryCode\": \"US\",\n \"JurisdictionRegionCode\": \"PA\",\n \"TaxableAmount\": -15,\n \"NonTaxableAmount\": 0,\n \"TaxRate\": 0.01,\n \"TaxAmount\": -0.15,\n \"TransactionType\": 19,\n \"ServiceType\": 6\n }\n ]\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{apiBaseUrl}}/v2/transaction-details",
"host": [
"{{apiBaseUrl}}"
],
"path": [
"v2",
"transaction-details"
]
},
"description": "Submits tax details for a full refund of the **Multiple Items** payment.\n\n- `PspTransactionId` is the refund's own ID from your PSP. If you send the original payment's ID, Reach treats the refund as a duplicate and discards it, still returning `202`.\n \n- `ParentPspTransactionId` is the original payment's `PspTransactionId`. Reach doesn't check this value when you submit the refund, so make sure it's correct.\n \n- `Amount`, `TaxAmount`, and `TaxableAmount` are negative, and `NonTaxableAmount` is zero or negative. `TaxRate` stays positive."
},
"response": [
{
"name": "202 Accepted",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Reach-Merchant-Id",
"value": "{{merchantId}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"PspTransactionId\": \"9TEST000REFUND002\",\n \"PspName\": \"PAYPAL\",\n \"ParentPspTransactionId\": \"5TEST000PAYMENT02\",\n \"Reference\": \"TEST-REFUND-1002\",\n \"Currency\": \"USD\",\n \"ShippingAddress\": {\n \"Street\": \"123 Main St\",\n \"City\": \"Pittsburgh\",\n \"Region\": \"PA\",\n \"Country\": \"US\",\n \"Postcode\": \"15222\"\n },\n \"TaxProviderId\": \"tax-txn-5e90a4f7\",\n \"TaxProviderReferenceId\": \"TEST-CRN-1002\",\n \"TaxDate\": \"2026-03-12T10:00:00\",\n \"Items\": [\n {\n \"Sku\": \"STREAM-PREMIUM-MONTHLY\",\n \"Description\": \"Premium Streaming Plan - Monthly (Refund)\",\n \"Quantity\": 1,\n \"Amount\": -20,\n \"ProviderTaxCode\": \"SW056789\",\n \"ProviderTaxCategory\": \"DIGITAL_STREAMING\",\n \"ProviderParentTaxCategory\": \"DIGITAL_GOODS\",\n \"TaxAmount\": -1.4,\n \"ItemTaxes\": [\n {\n \"Name\": \"Pennsylvania State Sales Tax\",\n \"Type\": \"SALES\",\n \"JurisdictionName\": \"Pennsylvania\",\n \"JurisdictionLevel\": \"STATE\",\n \"JurisdictionCountryCode\": \"US\",\n \"JurisdictionRegionCode\": \"PA\",\n \"TaxableAmount\": -20,\n \"NonTaxableAmount\": 0,\n \"TaxRate\": 0.06,\n \"TaxAmount\": -1.2,\n \"TransactionType\": 19,\n \"ServiceType\": 6\n },\n {\n \"Name\": \"Allegheny County Sales Tax\",\n \"Type\": \"SALES\",\n \"JurisdictionName\": \"Allegheny County\",\n \"JurisdictionLevel\": \"COUNTY\",\n \"JurisdictionCountryCode\": \"US\",\n \"JurisdictionRegionCode\": \"PA\",\n \"TaxableAmount\": -20,\n \"NonTaxableAmount\": 0,\n \"TaxRate\": 0.01,\n \"TaxAmount\": -0.2,\n \"TransactionType\": 19,\n \"ServiceType\": 6\n }\n ]\n },\n {\n \"Sku\": \"STREAM-SPORTS-ADDON\",\n \"Description\": \"Sports Add-On - Monthly (Refund)\",\n \"Quantity\": 1,\n \"Amount\": -15,\n \"ProviderTaxCode\": \"SW056789\",\n \"ProviderTaxCategory\": \"DIGITAL_STREAMING\",\n \"ProviderParentTaxCategory\": \"DIGITAL_GOODS\",\n \"TaxAmount\": -1.05,\n \"ItemTaxes\": [\n {\n \"Name\": \"Pennsylvania State Sales Tax\",\n \"Type\": \"SALES\",\n \"JurisdictionName\": \"Pennsylvania\",\n \"JurisdictionLevel\": \"STATE\",\n \"JurisdictionCountryCode\": \"US\",\n \"JurisdictionRegionCode\": \"PA\",\n \"TaxableAmount\": -15,\n \"NonTaxableAmount\": 0,\n \"TaxRate\": 0.06,\n \"TaxAmount\": -0.9,\n \"TransactionType\": 19,\n \"ServiceType\": 6\n },\n {\n \"Name\": \"Allegheny County Sales Tax\",\n \"Type\": \"SALES\",\n \"JurisdictionName\": \"Allegheny County\",\n \"JurisdictionLevel\": \"COUNTY\",\n \"JurisdictionCountryCode\": \"US\",\n \"JurisdictionRegionCode\": \"PA\",\n \"TaxableAmount\": -15,\n \"NonTaxableAmount\": 0,\n \"TaxRate\": 0.01,\n \"TaxAmount\": -0.15,\n \"TransactionType\": 19,\n \"ServiceType\": 6\n }\n ]\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{apiBaseUrl}}/v2/transaction-details",
"host": [
"{{apiBaseUrl}}"
],
"path": [
"v2",
"transaction-details"
]
}
},
"status": "Accepted",
"code": 202,
"_postman_previewlanguage": "text",
"header": [
{
"key": ":status",
"value": "202"
},
{
"key": "date",
"value": "Thu, 03 Dec 2026 20:26:24 GMT"
},
{
"key": "vary",
"value": "Origin, Access-Control-Request-Method, Access-Control-Request-Headers"
},
{
"key": "x-content-type-options",
"value": "nosniff"
},
{
"key": "x-xss-protection",
"value": "0"
},
{
"key": "cache-control",
"value": "no-cache, no-store, max-age=0, must-revalidate"
},
{
"key": "pragma",
"value": "no-cache"
},
{
"key": "expires",
"value": "0"
},
{
"key": "strict-transport-security",
"value": "max-age=31536000 ; includeSubDomains"
},
{
"key": "x-frame-options",
"value": "DENY"
},
{
"key": "referrer-policy",
"value": "no-referrer"
},
{
"key": "content-security-policy",
"value": "default-src 'self' https:; font-src 'self' https: data:; img-src 'self' https: data:; object-src 'none'; script-src https:; style-src 'self' https: 'unsafe-inline'"
},
{
"key": "x-download-options",
"value": "noopen"
},
{
"key": "x-permitted-cross-domain-policies",
"value": "none"
}
],
"cookie": [],
"body": ""
}
]
},
{
"name": "Submit Transaction Details - Tax Only",
"event": [
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
"pm.test('Accepted (202)', () => pm.expect(pm.response.code).to.be.oneOf([200, 202]));"
]
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Reach-Merchant-Id",
"value": "{{merchantId}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"Reference\": \"TEST-ORDER-2004\",\n \"Currency\": \"AUD\",\n \"WarehouseAddress\": {\n \"Street\": \"200 Example St\",\n \"City\": \"Los Angeles\",\n \"Region\": \"CA\",\n \"Country\": \"US\",\n \"Postcode\": \"90012\"\n },\n \"ShippingAddress\": {\n \"Street\": \"100 Example Ave\",\n \"City\": \"Sydney\",\n \"Region\": \"NSW\",\n \"Country\": \"AU\",\n \"Postcode\": \"2000\"\n },\n \"TaxProviderId\": \"tax-txn-8a7f808x\",\n \"TaxProviderReferenceId\": \"TEST-INV-2002\",\n \"TaxDate\": \"2026-03-10T15:30:00\",\n \"Items\": [\n {\n \"Sku\": \"SHIRT_4353_W12\",\n \"Description\": \"Premium White Cotton T-Shirt - Size 12\",\n \"CountryOfOrigin\": \"US\",\n \"Quantity\": 1,\n \"Amount\": 20,\n \"ProviderTaxCode\": \"PC040100\",\n \"ProviderTaxCategory\": \"CLOTHING\",\n \"ProviderParentTaxCategory\": \"TANGIBLE_GOODS\",\n \"TaxAmount\": 2,\n \"ItemTaxes\": [\n {\n \"Name\": \"Australia GST\",\n \"Type\": \"SALES\",\n \"JurisdictionName\": \"Australia\",\n \"JurisdictionLevel\": \"FEDERAL\",\n \"JurisdictionCountryCode\": \"AU\",\n \"JurisdictionRegionCode\": \"NSW\",\n \"TaxableAmount\": 20,\n \"NonTaxableAmount\": 0,\n \"TaxRate\": 0.1,\n \"TaxAmount\": 2\n }\n ]\n },\n {\n \"Sku\": \"SOCKS_2210_M\",\n \"Description\": \"Cotton Crew Socks - Medium\",\n \"CountryOfOrigin\": \"VN\",\n \"WarehouseAddress\": {\n \"Street\": \"50 Example Rd\",\n \"City\": \"Melbourne\",\n \"Region\": \"VIC\",\n \"Country\": \"AU\",\n \"Postcode\": \"3000\"\n },\n \"Quantity\": 1,\n \"Amount\": 15,\n \"ProviderTaxCode\": \"PC040100\",\n \"ProviderTaxCategory\": \"CLOTHING\",\n \"ProviderParentTaxCategory\": \"TANGIBLE_GOODS\",\n \"TaxAmount\": 1.5,\n \"ItemTaxes\": [\n {\n \"Name\": \"Australia GST\",\n \"Type\": \"SALES\",\n \"JurisdictionName\": \"Australia\",\n \"JurisdictionLevel\": \"FEDERAL\",\n \"JurisdictionCountryCode\": \"AU\",\n \"JurisdictionRegionCode\": \"NSW\",\n \"TaxableAmount\": 15,\n \"NonTaxableAmount\": 0,\n \"TaxRate\": 0.1,\n \"TaxAmount\": 1.5\n }\n ]\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{apiBaseUrl}}/v2/transaction-details",
"host": [
"{{apiBaseUrl}}"
],
"path": [
"v2",
"transaction-details"
]
},
"description": "Submits tax details for a sale that Reach didn't process (Tax only). This example has two items shipped to Sydney, Australia, each with 10% GST.\n\n- Don't send `PspTransactionId` or `PspName`. Reach treats the request as Tax only if you omit them.\n \n- `Reference` is your order ID. A refund points back to this order by sending it as `ParentReference`, so use a new `Reference` for each order.\n \n- `WarehouseAddress` is where the goods shipped from. You can set it for the whole order and override it on an item.\n \n- Each item's `TaxAmount` must equal the sum of its `ItemTaxes[].TaxAmount`, within 0.01.\n \n\nA successful request returns `202 Accepted` with no body. In Tax only, Reach uses `TaxProviderId` to detect duplicates: if you send the same `TaxProviderId` again, Reach returns `202` but discards the submission. To send this request more than once, change `TaxProviderId` and `Reference`."
},
"response": [
{
"name": "202 Accepted",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Reach-Merchant-Id",
"value": "{{merchantId}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"Reference\": \"TEST-ORDER-2004\",\n \"Currency\": \"AUD\",\n \"WarehouseAddress\": {\n \"Street\": \"200 Example St\",\n \"City\": \"Los Angeles\",\n \"Region\": \"CA\",\n \"Country\": \"US\",\n \"Postcode\": \"90012\"\n },\n \"ShippingAddress\": {\n \"Street\": \"100 Example Ave\",\n \"City\": \"Sydney\",\n \"Region\": \"NSW\",\n \"Country\": \"AU\",\n \"Postcode\": \"2000\"\n },\n \"TaxProviderId\": \"tax-txn-8a7f808x\",\n \"TaxProviderReferenceId\": \"TEST-INV-2002\",\n \"TaxDate\": \"2026-03-10T15:30:00\",\n \"Items\": [\n {\n \"Sku\": \"SHIRT_4353_W12\",\n \"Description\": \"Premium White Cotton T-Shirt - Size 12\",\n \"CountryOfOrigin\": \"US\",\n \"Quantity\": 1,\n \"Amount\": 20,\n \"ProviderTaxCode\": \"PC040100\",\n \"ProviderTaxCategory\": \"CLOTHING\",\n \"ProviderParentTaxCategory\": \"TANGIBLE_GOODS\",\n \"TaxAmount\": 2,\n \"ItemTaxes\": [\n {\n \"Name\": \"Australia GST\",\n \"Type\": \"SALES\",\n \"JurisdictionName\": \"Australia\",\n \"JurisdictionLevel\": \"FEDERAL\",\n \"JurisdictionCountryCode\": \"AU\",\n \"JurisdictionRegionCode\": \"NSW\",\n \"TaxableAmount\": 20,\n \"NonTaxableAmount\": 0,\n \"TaxRate\": 0.1,\n \"TaxAmount\": 2\n }\n ]\n },\n {\n \"Sku\": \"SOCKS_2210_M\",\n \"Description\": \"Cotton Crew Socks - Medium\",\n \"CountryOfOrigin\": \"VN\",\n \"WarehouseAddress\": {\n \"Street\": \"50 Example Rd\",\n \"City\": \"Melbourne\",\n \"Region\": \"VIC\",\n \"Country\": \"AU\",\n \"Postcode\": \"3000\"\n },\n \"Quantity\": 1,\n \"Amount\": 15,\n \"ProviderTaxCode\": \"PC040100\",\n \"ProviderTaxCategory\": \"CLOTHING\",\n \"ProviderParentTaxCategory\": \"TANGIBLE_GOODS\",\n \"TaxAmount\": 1.5,\n \"ItemTaxes\": [\n {\n \"Name\": \"Australia GST\",\n \"Type\": \"SALES\",\n \"JurisdictionName\": \"Australia\",\n \"JurisdictionLevel\": \"FEDERAL\",\n \"JurisdictionCountryCode\": \"AU\",\n \"JurisdictionRegionCode\": \"NSW\",\n \"TaxableAmount\": 15,\n \"NonTaxableAmount\": 0,\n \"TaxRate\": 0.1,\n \"TaxAmount\": 1.5\n }\n ]\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{apiBaseUrl}}/v2/transaction-details",
"host": [
"{{apiBaseUrl}}"
],
"path": [
"v2",
"transaction-details"
]
}
},
"status": "Accepted",
"code": 202,
"_postman_previewlanguage": "text",
"header": [
{
"key": ":status",
"value": "202"
},
{
"key": "date",
"value": "Thu, 03 Dec 2026 18:22:08 GMT"
},
{
"key": "vary",
"value": "Origin, Access-Control-Request-Method, Access-Control-Request-Headers"
},
{
"key": "x-content-type-options",
"value": "nosniff"
},
{
"key": "x-xss-protection",
"value": "0"
},
{
"key": "cache-control",
"value": "no-cache, no-store, max-age=0, must-revalidate"
},
{
"key": "pragma",
"value": "no-cache"
},
{
"key": "expires",
"value": "0"
},
{
"key": "strict-transport-security",
"value": "max-age=31536000 ; includeSubDomains"
},
{
"key": "x-frame-options",
"value": "DENY"
},
{
"key": "referrer-policy",
"value": "no-referrer"
},
{
"key": "content-security-policy",
"value": "default-src 'self' https:; font-src 'self' https: data:; img-src 'self' https: data:; object-src 'none'; script-src https:; style-src 'self' https: 'unsafe-inline'"
},
{
"key": "x-download-options",
"value": "noopen"
},
{
"key": "x-permitted-cross-domain-policies",
"value": "none"
}
],
"cookie": [],
"body": ""
}
]
},
{
"name": "Submit Refund / Reversal - Tax Only",
"event": [
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
"pm.test('Accepted (202)', () => pm.expect(pm.response.code).to.be.oneOf([200, 202]));"
]
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Reach-Merchant-Id",
"value": "{{merchantId}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"Reference\": \"TEST-REFUND-2004\",\n \"ParentReference\": \"TEST-ORDER-2004\",\n \"Currency\": \"AUD\",\n \"WarehouseAddress\": {\n \"Street\": \"200 Example St\",\n \"City\": \"Los Angeles\",\n \"Region\": \"CA\",\n \"Country\": \"US\",\n \"Postcode\": \"90012\"\n },\n \"ShippingAddress\": {\n \"Street\": \"100 Example Ave\",\n \"City\": \"Sydney\",\n \"Region\": \"NSW\",\n \"Country\": \"AU\",\n \"Postcode\": \"2000\"\n },\n \"TaxProviderId\": \"tax-txn-20040002\",\n \"TaxProviderReferenceId\": \"TEST-CRN-2004\",\n \"TaxDate\": \"2026-03-11T09:00:00\",\n \"Items\": [\n {\n \"Sku\": \"SHIRT_4353_W12\",\n \"Description\": \"Premium White Cotton T-Shirt - Size 12 (Refund)\",\n \"CountryOfOrigin\": \"US\",\n \"Quantity\": 1,\n \"Amount\": -20,\n \"ProviderTaxCode\": \"PC040100\",\n \"ProviderTaxCategory\": \"CLOTHING\",\n \"ProviderParentTaxCategory\": \"TANGIBLE_GOODS\",\n \"TaxAmount\": -2,\n \"ItemTaxes\": [\n {\n \"Name\": \"Australia GST\",\n \"Type\": \"SALES\",\n \"JurisdictionName\": \"Australia\",\n \"JurisdictionLevel\": \"FEDERAL\",\n \"JurisdictionCountryCode\": \"AU\",\n \"JurisdictionRegionCode\": \"NSW\",\n \"TaxableAmount\": -20,\n \"NonTaxableAmount\": 0,\n \"TaxRate\": 0.1,\n \"TaxAmount\": -2\n }\n ]\n },\n {\n \"Sku\": \"SOCKS_2210_M\",\n \"Description\": \"Cotton Crew Socks - Medium (Refund)\",\n \"CountryOfOrigin\": \"VN\",\n \"WarehouseAddress\": {\n \"Street\": \"50 Example Rd\",\n \"City\": \"Melbourne\",\n \"Region\": \"VIC\",\n \"Country\": \"AU\",\n \"Postcode\": \"3000\"\n },\n \"Quantity\": 1,\n \"Amount\": -15,\n \"ProviderTaxCode\": \"PC040100\",\n \"ProviderTaxCategory\": \"CLOTHING\",\n \"ProviderParentTaxCategory\": \"TANGIBLE_GOODS\",\n \"TaxAmount\": -1.5,\n \"ItemTaxes\": [\n {\n \"Name\": \"Australia GST\",\n \"Type\": \"SALES\",\n \"JurisdictionName\": \"Australia\",\n \"JurisdictionLevel\": \"FEDERAL\",\n \"JurisdictionCountryCode\": \"AU\",\n \"JurisdictionRegionCode\": \"NSW\",\n \"TaxableAmount\": -15,\n \"NonTaxableAmount\": 0,\n \"TaxRate\": 0.1,\n \"TaxAmount\": -1.5\n }\n ]\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{apiBaseUrl}}/v2/transaction-details",
"host": [
"{{apiBaseUrl}}"
],
"path": [
"v2",
"transaction-details"
]
},
"description": "Submits tax details for a full refund of the **Tax only** payment. Send that request first: Reach checks that the original exists.\n\n- `ParentReference` is the original payment's `Reference`. It must match exactly one earlier non-refund submission under your `Reach-Merchant-Id`. If it matches none, or more than one, Reach returns `400`. If you changed the payment's `Reference`, update `ParentReference` to match.\n \n- Use a new `Reference` for the refund.\n \n- `TaxProviderId` must differ from the payment's. Reach uses it to detect duplicates, and checks for duplicates before it checks `ParentReference`: a refund with a `TaxProviderId` that's already been used returns `202` and is discarded, even if its `ParentReference` is wrong.\n \n- `Amount`, `TaxAmount`, and `TaxableAmount` are negative, and `NonTaxableAmount` is zero or negative. `TaxRate` stays positive."
},
"response": [
{
"name": "202 Accepted",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Reach-Merchant-Id",
"value": "{{merchantId}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"Reference\": \"TEST-REFUND-2004\",\n \"ParentReference\": \"TEST-ORDER-2004\",\n \"Currency\": \"AUD\",\n \"WarehouseAddress\": {\n \"Street\": \"200 Example St\",\n \"City\": \"Los Angeles\",\n \"Region\": \"CA\",\n \"Country\": \"US\",\n \"Postcode\": \"90012\"\n },\n \"ShippingAddress\": {\n \"Street\": \"100 Example Ave\",\n \"City\": \"Sydney\",\n \"Region\": \"NSW\",\n \"Country\": \"AU\",\n \"Postcode\": \"2000\"\n },\n \"TaxProviderId\": \"tax-txn-20040002\",\n \"TaxProviderReferenceId\": \"TEST-CRN-2004\",\n \"TaxDate\": \"2026-03-11T09:00:00\",\n \"Items\": [\n {\n \"Sku\": \"SHIRT_4353_W12\",\n \"Description\": \"Premium White Cotton T-Shirt - Size 12 (Refund)\",\n \"CountryOfOrigin\": \"US\",\n \"Quantity\": 1,\n \"Amount\": -20,\n \"ProviderTaxCode\": \"PC040100\",\n \"ProviderTaxCategory\": \"CLOTHING\",\n \"ProviderParentTaxCategory\": \"TANGIBLE_GOODS\",\n \"TaxAmount\": -2,\n \"ItemTaxes\": [\n {\n \"Name\": \"Australia GST\",\n \"Type\": \"SALES\",\n \"JurisdictionName\": \"Australia\",\n \"JurisdictionLevel\": \"FEDERAL\",\n \"JurisdictionCountryCode\": \"AU\",\n \"JurisdictionRegionCode\": \"NSW\",\n \"TaxableAmount\": -20,\n \"NonTaxableAmount\": 0,\n \"TaxRate\": 0.1,\n \"TaxAmount\": -2\n }\n ]\n },\n {\n \"Sku\": \"SOCKS_2210_M\",\n \"Description\": \"Cotton Crew Socks - Medium (Refund)\",\n \"CountryOfOrigin\": \"VN\",\n \"WarehouseAddress\": {\n \"Street\": \"50 Example Rd\",\n \"City\": \"Melbourne\",\n \"Region\": \"VIC\",\n \"Country\": \"AU\",\n \"Postcode\": \"3000\"\n },\n \"Quantity\": 1,\n \"Amount\": -15,\n \"ProviderTaxCode\": \"PC040100\",\n \"ProviderTaxCategory\": \"CLOTHING\",\n \"ProviderParentTaxCategory\": \"TANGIBLE_GOODS\",\n \"TaxAmount\": -1.5,\n \"ItemTaxes\": [\n {\n \"Name\": \"Australia GST\",\n \"Type\": \"SALES\",\n \"JurisdictionName\": \"Australia\",\n \"JurisdictionLevel\": \"FEDERAL\",\n \"JurisdictionCountryCode\": \"AU\",\n \"JurisdictionRegionCode\": \"NSW\",\n \"TaxableAmount\": -15,\n \"NonTaxableAmount\": 0,\n \"TaxRate\": 0.1,\n \"TaxAmount\": -1.5\n }\n ]\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{apiBaseUrl}}/v2/transaction-details",
"host": [
"{{apiBaseUrl}}"
],
"path": [
"v2",
"transaction-details"
]
}
},
"status": "Accepted",
"code": 202,
"_postman_previewlanguage": "text",
"header": [
{
"key": ":status",
"value": "202"
},
{
"key": "date",
"value": "Thu, 03 Dec 2026 21:53:28 GMT"
},
{
"key": "vary",
"value": "Origin, Access-Control-Request-Method, Access-Control-Request-Headers"
},
{
"key": "x-content-type-options",
"value": "nosniff"
},
{
"key": "x-xss-protection",
"value": "0"
},
{
"key": "cache-control",
"value": "no-cache, no-store, max-age=0, must-revalidate"
},
{
"key": "pragma",
"value": "no-cache"
},
{
"key": "expires",
"value": "0"
},
{
"key": "strict-transport-security",
"value": "max-age=31536000 ; includeSubDomains"
},
{
"key": "x-frame-options",
"value": "DENY"
},
{
"key": "referrer-policy",
"value": "no-referrer"
},
{
"key": "content-security-policy",
"value": "default-src 'self' https:; font-src 'self' https: data:; img-src 'self' https: data:; object-src 'none'; script-src https:; style-src 'self' https: 'unsafe-inline'"
},
{
"key": "x-download-options",
"value": "noopen"
},
{
"key": "x-permitted-cross-domain-policies",
"value": "none"
}
],
"cookie": [],
"body": ""
},
{
"name": "400 Bad Request - Invalid ParentReference",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Reach-Merchant-Id",
"value": "{{merchantId}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"Reference\": \"TEST-REFUND-22\",\n \"ParentReference\": \"TEST-ORDER-010230303\",\n \"Currency\": \"AUD\",\n \"WarehouseAddress\": {\n \"Street\": \"200 Example St\",\n \"City\": \"Los Angeles\",\n \"Region\": \"CA\",\n \"Country\": \"US\",\n \"Postcode\": \"90012\"\n },\n \"ShippingAddress\": {\n \"Street\": \"100 Example Ave\",\n \"City\": \"Sydney\",\n \"Region\": \"NSW\",\n \"Country\": \"AU\",\n \"Postcode\": \"2000\"\n },\n \"TaxProviderId\": \"tax-txn-8a7f80xxx\",\n \"TaxProviderReferenceId\": \"TEST-INV-2003\",\n \"TaxDate\": \"2026-03-11T09:00:00\",\n \"Items\": [\n {\n \"Sku\": \"SHIRT_4353_W12\",\n \"Description\": \"Premium White Cotton T-Shirt - Size 12 (Refund)\",\n \"CountryOfOrigin\": \"US\",\n \"Quantity\": 1,\n \"Amount\": -20,\n \"ProviderTaxCode\": \"PC040100\",\n \"ProviderTaxCategory\": \"CLOTHING\",\n \"ProviderParentTaxCategory\": \"TANGIBLE_GOODS\",\n \"TaxAmount\": -2,\n \"ItemTaxes\": [\n {\n \"Name\": \"Australia GST\",\n \"Type\": \"SALES\",\n \"JurisdictionName\": \"Australia\",\n \"JurisdictionLevel\": \"FEDERAL\",\n \"JurisdictionCountryCode\": \"AU\",\n \"JurisdictionRegionCode\": \"NSW\",\n \"TaxableAmount\": -20,\n \"NonTaxableAmount\": 0,\n \"TaxRate\": 0.1,\n \"TaxAmount\": -2\n }\n ]\n },\n {\n \"Sku\": \"SOCKS_2210_M\",\n \"Description\": \"Cotton Crew Socks - Medium (Refund)\",\n \"CountryOfOrigin\": \"VN\",\n \"WarehouseAddress\": {\n \"Street\": \"50 Example Rd\",\n \"City\": \"Melbourne\",\n \"Region\": \"VIC\",\n \"Country\": \"AU\",\n \"Postcode\": \"3000\"\n },\n \"Quantity\": 1,\n \"Amount\": -15,\n \"ProviderTaxCode\": \"PC040100\",\n \"ProviderTaxCategory\": \"CLOTHING\",\n \"ProviderParentTaxCategory\": \"TANGIBLE_GOODS\",\n \"TaxAmount\": -1.5,\n \"ItemTaxes\": [\n {\n \"Name\": \"Australia GST\",\n \"Type\": \"SALES\",\n \"JurisdictionName\": \"Australia\",\n \"JurisdictionLevel\": \"FEDERAL\",\n \"JurisdictionCountryCode\": \"AU\",\n \"JurisdictionRegionCode\": \"NSW\",\n \"TaxableAmount\": -15,\n \"NonTaxableAmount\": 0,\n \"TaxRate\": 0.1,\n \"TaxAmount\": -1.5\n }\n ]\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{apiBaseUrl}}/v2/transaction-details",
"host": [
"{{apiBaseUrl}}"
],
"path": [
"v2",
"transaction-details"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "json",
"header": [
{
"key": ":status",
"value": "400"
},
{
"key": "date",
"value": "Thu, 03 Dec 2026 21:00:11 GMT"
},
{
"key": "content-type",
"value": "application/json"
},
{
"key": "vary",
"value": "Origin, Access-Control-Request-Method, Access-Control-Request-Headers"
},
{
"key": "x-content-type-options",
"value": "nosniff"
},
{
"key": "x-xss-protection",
"value": "0"
},
{
"key": "cache-control",
"value": "no-cache, no-store, max-age=0, must-revalidate"
},
{
"key": "pragma",
"value": "no-cache"
},
{
"key": "expires",
"value": "0"
},
{
"key": "strict-transport-security",
"value": "max-age=31536000 ; includeSubDomains"
},
{
"key": "x-frame-options",
"value": "DENY"
},
{
"key": "referrer-policy",
"value": "no-referrer"
},
{
"key": "content-security-policy",
"value": "default-src 'self' https:; font-src 'self' https: data:; img-src 'self' https: data:; object-src 'none'; script-src https:; style-src 'self' https: 'unsafe-inline'"
},
{
"key": "x-download-options",
"value": "noopen"
},
{
"key": "x-permitted-cross-domain-policies",
"value": "none"
}
],
"cookie": [],
"body": "{\n \"Code\": \"INVALID_REQUEST\",\n \"FieldErrors\": [\n {\n \"Code\": \"VALIDATION_ERROR\",\n \"Field\": \"ParentReference\",\n \"Message\": \"The supplied ParentReference does not match any transaction for this merchant\"\n }\n ],\n \"Message\": \"invalid request syntax\"\n}"
}
]
}
],
"auth": {
"type": "basic",
"basic": [
{
"key": "username",
"value": "{USERNAME}",
"type": "string"
},
{
"key": "password",
"value": "{{password}}",
"type": "string"
}
]
}
}Import the Reach environments
Second, import the Reach environments. There are two environment files. Use the Reach Sandbox environment to test, and the Reach Production environment to send requests to your live account.
Each file contains your API username and password, as well as the URLs used by the requests in the collection.
Test with the Reach Sandbox environment first. Requests sent with the Reach Production environment go to your live Reach account.
-
Download the Sandbox environment file by clicking the button to open the file in Google Drive.
- In Postman, click Use resources or import, then select Import.
- In the Use Resources window, click files under the Drop anywhere to import section.
- Select the file from your computer.
- Replace
<your-username>and<your-password>with the API username and password for that environment from your Reach representative. The collection doesn't use the other placeholders, so you can leave them as they are. -
Repeat steps 1-4 to import the Production environment file.
Alternatively, you can copy and paste the file directly from this page into the Import text field on the Use Resources window in Postman.
Reach environment collection files
{
"id": "25179582-0482-4884-b90f-9b0ffaa58a01",
"name": "Reach Sandbox",
"values": [
{
"key": "checkoutBaseUrl",
"value": "https://checkout.rch.how/v2.22",
"type": "default",
"enabled": true
},
{
"key": "apiBaseUrl",
"value": "https://api.sandbox.withreach.com",
"type": "default",
"enabled": true
},
{
"key": "merchantId",
"value": "<your-merchant-id>",
"type": "default",
"enabled": true
},
{
"key": "merchantSecret",
"value": "<your-hmac-secret>",
"type": "secret",
"enabled": true
},
{
"key": "businessPartner",
"value": "<your-business-partner>",
"type": "default",
"enabled": true
},
{
"key": "username",
"value": "<your-username>",
"type": "default",
"enabled": true
},
{
"key": "password",
"value": "<your-password>",
"type": "secret",
"enabled": true
},
{
"key": "payload",
"value": "",
"type": "default",
"enabled": true
},
{
"key": "payloadSignature",
"value": "",
"type": "default",
"enabled": true
},
{
"key": "cardDetails",
"value": "",
"type": "default",
"enabled": true
},
{
"key": "deviceFingerprint",
"value": "",
"type": "default",
"enabled": true
},
{
"key": "merchantReference",
"value": "",
"type": "default",
"enabled": true
},
{
"key": "sessionId",
"value": "",
"type": "default",
"enabled": true
},
{
"key": "orderId",
"value": "",
"type": "default",
"enabled": true
},
{
"key": "refundId",
"value": "",
"type": "default",
"enabled": true
},
{
"key": "quoteId",
"value": "",
"type": "default",
"enabled": true
},
{
"key": "billingProfileId",
"value": "",
"type": "default",
"enabled": true
},
{
"key": "billingProfileReference",
"value": "",
"type": "default",
"enabled": true
},
{
"key": "pspTransactionId",
"value": "",
"type": "default",
"enabled": true
}
],
"_postman_variable_scope": "environment",
"_postman_exported_using": "Reach API collections"
}{
"id": "96544eef-8987-4a93-ad1f-dc8a989311d4",
"name": "Reach Production",
"values": [
{
"key": "checkoutBaseUrl",
"value": "https://checkout.rch.io/v2.22",
"type": "default",
"enabled": true
},
{
"key": "apiBaseUrl",
"value": "https://api.withreach.com",
"type": "default",
"enabled": true
},
{
"key": "merchantId",
"value": "<your-merchant-id>",
"type": "default",
"enabled": true
},
{
"key": "merchantSecret",
"value": "<your-hmac-secret>",
"type": "secret",
"enabled": true
},
{
"key": "businessPartner",
"value": "<your-business-partner>",
"type": "default",
"enabled": true
},
{
"key": "username",
"value": "<your-username>",
"type": "default",
"enabled": true
},
{
"key": "password",
"value": "<your-password>",
"type": "secret",
"enabled": true
},
{
"key": "payload",
"value": "",
"type": "default",
"enabled": true
},
{
"key": "payloadSignature",
"value": "",
"type": "default",
"enabled": true
},
{
"key": "cardDetails",
"value": "",
"type": "default",
"enabled": true
},
{
"key": "deviceFingerprint",
"value": "",
"type": "default",
"enabled": true
},
{
"key": "merchantReference",
"value": "",
"type": "default",
"enabled": true
},
{
"key": "sessionId",
"value": "",
"type": "default",
"enabled": true
},
{
"key": "orderId",
"value": "",
"type": "default",
"enabled": true
},
{
"key": "refundId",
"value": "",
"type": "default",
"enabled": true
},
{
"key": "quoteId",
"value": "",
"type": "default",
"enabled": true
},
{
"key": "billingProfileId",
"value": "",
"type": "default",
"enabled": true
},
{
"key": "billingProfileReference",
"value": "",
"type": "default",
"enabled": true
},
{
"key": "pspTransactionId",
"value": "",
"type": "default",
"enabled": true
}
],
"_postman_variable_scope": "environment",
"_postman_exported_using": "Reach API collections"
}Send a request
The collection has five requests: three for tax linking and two for Tax only. Use tax linking when Reach processed the payment, and Tax only when it didn't.
Reach detects duplicate requests by ID and discards them, but still returns 202 Accepted. The sample requests use fixed IDs, so change them before you send a request:
To send a request, do the following:
- In the top-right corner of Postman, select the Reach Sandbox environment.
- In the Transaction Details API collection, open a request.
- In the Body tab, change the IDs as shown in the table above. Optionally, change other values to match a transaction you want to test.
- Click Send.
If Reach accepts the request, Postman shows a 202 Accepted response with an empty body, and the Test Results tab confirms the success.
Send a refund
Send the payment before its refund:
- Tax linking: set
ParentPspTransactionIdto the payment'sPspTransactionId. Reach doesn't check this value when you submit the refund, so make sure it's correct. - Tax only: set
ParentReferenceto the transaction'sReference. Reach checks that the transaction exists, and returns400if it doesn't.
View example responses
Each request includes a saved example of a successful response. To view it, expand the request in the sidebar and click the example.
Two requests also include examples of error responses: an invalid PspName, an item TaxAmount that doesn't equal the sum of its ItemTaxes, and a ParentReference that doesn't match a transaction.
Troubleshoot a request
The following table outlines what steps you can take if you run into errors:
For all responses, see the Transaction Details API reference.
