curl --request GET \
--url https://virtserver.swaggerhub.com/Amdocs_Media/Subscribe_API_WIP/2024.09/transactions/{transaction} \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://virtserver.swaggerhub.com/Amdocs_Media/Subscribe_API_WIP/2024.09/transactions/{transaction}"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://virtserver.swaggerhub.com/Amdocs_Media/Subscribe_API_WIP/2024.09/transactions/{transaction}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://virtserver.swaggerhub.com/Amdocs_Media/Subscribe_API_WIP/2024.09/transactions/{transaction}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Basic <encoded-value>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://virtserver.swaggerhub.com/Amdocs_Media/Subscribe_API_WIP/2024.09/transactions/{transaction}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Basic <encoded-value>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://virtserver.swaggerhub.com/Amdocs_Media/Subscribe_API_WIP/2024.09/transactions/{transaction}")
.header("Authorization", "Basic <encoded-value>")
.asString();require 'uri'
require 'net/http'
url = URI("https://virtserver.swaggerhub.com/Amdocs_Media/Subscribe_API_WIP/2024.09/transactions/{transaction}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Basic <encoded-value>'
response = http.request(request)
puts response.read_body"{ \"object\": \"Transaction\", \"id\": \"qa_pymch_auth00010372\", \"vid\": \"0e513b1816ec0bf8ef6c3dc3ca1cee1ce5e67f6e\", \"created\": \"2023-10-04T13:46:02+00:00\", \"amount\": 530, \"currency\": \"USD\", \"division_number\": \"117729\", \"account\": { \"object\": \"Account\", \"id\": \"Account2_FYuVLvBc_X\", \"vid\": \"4b7fa60104d006d35704918a49cd7808a9096f9a\", \"created\": \"2023-10-04T13:45:47+00:00\", \"default_currency\": \"USD\", \"email_type\": \"html\", \"shipping_address\": { \"object\": \"Address\", \"vid\": \"877c482fc7bc09604a946a83c1a371df2b175f18\", \"name\": \"Jerry McTesterson\", \"line1\": \"11235 Fibonacci St\", \"city\": \"San Mateo\", \"district\": \"CA\", \"postal_code\": \"94403\", \"country\": \"US\" }, \"payment_methods\": { \"object\": \"List\", \"data\": [ { \"object\": \"PaymentMethod\", \"id\": \"PM2_FYuVLvBc_X\", \"vid\": \"4b9094c2c8c31e364dc3e20ec92bf37b8ddbd29c\", \"created\": \"2023-10-04T13:45:48+00:00\", \"type\": \"CreditCard\", \"credit_card\": { \"object\": \"CreditCard\", \"vid\": \"d942886b425698d641fc38137bd913552f767d2d\", \"account\": \"402524XXXXXX0088\", \"bin\": \"402524\", \"type\": \"VI\", \"last_digits\": \"0088\", \"account_length\": 16, \"expiration_date\": \"203012\", \"extended_card_attributes\": { \"object\": \"ExtendedCardAttributes\", \"commercial_card\": 0, \"signature_debit_card\": 0, \"prepaid_card\": 0, \"healthcare_card\": 0, \"country_of_issuance\": \"USA\", \"durbin_regulated\": 0, \"affluent\": 0 } }, \"account_holder\": \"Jerry McTesterson\", \"billing_address\": { \"object\": \"Address\", \"vid\": \"eab5edcf4d28549292e01e2641b7974b0f22715a\", \"name\": \"Jerry McTesterson\", \"line1\": \"11235 Fibonacci St\", \"city\": \"San Mateo\", \"district\": \"CA\", \"postal_code\": \"94403\", \"country\": \"US\" }, \"primary\": true, \"active\": true, \"linked_subscription\": false } ], \"total_count\": 1 } }, \"source_payment_method\": { \"object\": \"PaymentMethod\", \"id\": \"PM2_FYuVLvBc_X\", \"vid\": \"4b9094c2c8c31e364dc3e20ec92bf37b8ddbd29c\", \"created\": \"2023-10-04T13:45:48+00:00\", \"type\": \"CreditCard\", \"credit_card\": { \"object\": \"CreditCard\", \"vid\": \"d942886b425698d641fc38137bd913552f767d2d\", \"account\": \"402524XXXXXX0088\", \"bin\": \"402524\", \"type\": \"VI\", \"last_digits\": \"0088\", \"account_length\": 16, \"expiration_date\": \"203012\", \"extended_card_attributes\": { \"object\": \"ExtendedCardAttributes\", \"commercial_card\": 0, \"signature_debit_card\": 0, \"prepaid_card\": 0, \"healthcare_card\": 0, \"country_of_issuance\": \"USA\", \"durbin_regulated\": 0, \"affluent\": 0 } }, \"account_holder\": \"Jerry McTesterson\", \"billing_address\": { \"object\": \"Address\", \"vid\": \"eab5edcf4d28549292e01e2641b7974b0f22715a\", \"name\": \"Jerry McTesterson\", \"line1\": \"11235 Fibonacci St\", \"city\": \"San Mateo\", \"district\": \"CA\", \"postal_code\": \"94403\", \"country\": \"US\" }, \"primary\": true, \"active\": true, \"linked_subscription\": false }, \"status_log\": { \"object\": \"List\", \"data\": [ { \"object\": \"TransactionStatus\", \"status\": \"Cancelled\", \"created\": \"2023-10-04T13:47:33+00:00\", \"payment_method_type\": \"CreditCard\", \"credit_card_status\": { \"object\": \"TransactionStatusCreditCard\", \"auth_code\": \"530\", \"extended_card_attributes\": { \"object\": \"ExtendedCardAttributes\", \"commercial_card\": 0, \"signature_debit_card\": 0, \"prepaid_card\": 0, \"healthcare_card\": 0, \"country_of_issuance\": \"USA\", \"durbin_regulated\": 0, \"affluent\": 0 }, \"merchant_advice_code\": \"4\", \"merchant_advice_response\": \"Soft Failure(D): Generic response codes\", \"network_response_code\": \"05\", \"network_response\": \"Soft Failure(D): Do not honor\" }, \"note\": \"Auth Response Priority :NMP,Decision flag:N Table Name and Response Code: network_response_code :05,TxBilling Status :D , Networ\", \"auth_code_description\": \"Soft Failure\" }, { \"object\": \"TransactionStatus\", \"status\": \"Cancelled\", \"created\": \"2023-10-04T13:47:30+00:00\", \"payment_method_type\": \"CreditCard\", \"credit_card_status\": { \"object\": \"TransactionStatusCreditCard\", \"auth_code\": \"530\", \"avs_code\": \"I3\", \"extended_card_attributes\": { \"object\": \"ExtendedCardAttributes\", \"commercial_card\": 0, \"signature_debit_card\": 0, \"prepaid_card\": 0, \"healthcare_card\": 0, \"country_of_issuance\": \"USA\", \"durbin_regulated\": 0, \"affluent\": 0 }, \"merchant_advice_code\": \"4\", \"merchant_advice_response\": \"Soft Failure(D): Generic response codes\", \"network_response_code\": \"05\", \"network_response\": \"Soft Failure(D): Do not honor\" }, \"vin_avs\": \"FullMatch\", \"note\": \"Authorize Failed , Network code priority override 05 , Merchant code priority override 4\", \"auth_code_description\": \"Soft Failure\" }, { \"object\": \"TransactionStatus\", \"status\": \"New\", \"created\": \"2023-10-04T13:47:22+00:00\", \"payment_method_type\": \"CreditCard\", \"credit_card_status\": { \"object\": \"TransactionStatusCreditCard\", \"auth_code\": \"530\", \"extended_card_attributes\": { \"object\": \"ExtendedCardAttributes\", \"commercial_card\": 0, \"signature_debit_card\": 0, \"prepaid_card\": 0, \"healthcare_card\": 0, \"country_of_issuance\": \"USA\", \"durbin_regulated\": 0, \"affluent\": 0 }, \"merchant_advice_code\": \"4\", \"merchant_advice_response\": \"Soft Failure(D): Generic response codes\", \"network_response_code\": \"05\", \"network_response\": \"Soft Failure(D): Do not honor\" }, \"note\": \" , Network code priority override 05 , Merchant code priority override 4\" }, { \"object\": \"TransactionStatus\", \"status\": \"New\", \"created\": \"2023-10-04T13:47:21+00:00\", \"payment_method_type\": \"CreditCard\", \"credit_card_status\": { \"object\": \"TransactionStatusCreditCard\", \"auth_code\": \"530\", \"extended_card_attributes\": { \"object\": \"ExtendedCardAttributes\", \"commercial_card\": 0, \"signature_debit_card\": 0, \"prepaid_card\": 0, \"healthcare_card\": 0, \"country_of_issuance\": \"USA\", \"durbin_regulated\": 0, \"affluent\": 0 }, \"network_response_code\": \"05\", \"network_response\": \"Soft Failure(D): Do not honor\" }, \"note\": \" , Network code priority override 05\" }, { \"object\": \"TransactionStatus\", \"status\": \"New\", \"created\": \"2023-10-04T13:46:06+00:00\", \"payment_method_type\": \"CreditCard\", \"credit_card_status\": { \"object\": \"TransactionStatusCreditCard\", \"auth_code\": \"530\", \"extended_card_attributes\": { \"object\": \"ExtendedCardAttributes\", \"commercial_card\": 0, \"signature_debit_card\": 0, \"prepaid_card\": 0, \"healthcare_card\": 0, \"country_of_issuance\": \"USA\", \"durbin_regulated\": 0, \"affluent\": 0 } } } ], \"total_count\": 5 }, \"payment_processor\": \"Paymentech\", \"payment_processor_transaction_id\": \"27301000htua_hcmyp_aq\", \"shipping_address\": { \"object\": \"Address\", \"vid\": \"877c482fc7bc09604a946a83c1a371df2b175f18\", \"name\": \"Jerry McTesterson\", \"line1\": \"11235 Fibonacci St\", \"city\": \"San Mateo\", \"district\": \"CA\", \"postal_code\": \"94403\", \"country\": \"US\" }, \"metadata\": { \"vin:BillingPlanUnit\": \"month\", \"vin:BillingPlanLength\": \"1\", \"vin:decisionManagerEnabled\": \"0\", \"vin:merchant_accept_code\": \"4\", \"vin:RetryNumber\": \"0\", \"vin:BillingPlanDurationInSeconds\": \"0\", \"vin:BillingCycle\": \"1\", \"vin:FutureAmount\": \"530.00\", \"vin:netpriority\": \"05\" }, \"items\": { \"object\": \"List\", \"data\": [ { \"object\": \"TransactionItem\", \"sku\": \"bp_Y46Ltj_yvszy6QC2q9HBAkmW5kg\", \"br_tax_category\": \"Services\", \"index_number\": 1, \"item_type\": \"Purchase\", \"name\": \"product default plan Y46Ltj_yvszy6QC2q9H\", \"quantity\": 1, \"tax_classification\": \"TaxExempt\", \"service_period_starts\": \"2023-10-06T00:00:00+00:00\", \"service_period_ends\": \"2023-11-05T00:00:00+00:00\", \"tax_type\": \"Exclusive Sales\", \"total\": 0 }, { \"object\": \"TransactionItem\", \"sku\": \"tSPrFGDXonYbyLJ1Vu6gDKKupyo\", \"br_tax_category\": \"Services\", \"index_number\": 2, \"item_type\": \"Purchase\", \"name\": \"Test Product Description\", \"subscription_item\": { \"object\": \"SubscriptionItem\", \"id\": \"sub_item_4oS1XV9Envd47inHMj8ozkbGn_A\", \"vid\": \"fc5f1949e342b79c5198eb98bf40ef379b2ca069\" }, \"price\": 530, \"quantity\": 1, \"tax_classification\": \"TaxExempt\", \"service_period_starts\": \"2023-10-06T00:00:00+00:00\", \"service_period_ends\": \"2023-11-05T00:00:00+00:00\", \"tax_type\": \"Exclusive Sales\", \"subtotal\": 530, \"total\": 530 }, { \"object\": \"TransactionItem\", \"sku\": \"Total Tax\", \"index_number\": 3, \"item_type\": \"Purchase\", \"name\": \"Total Tax\", \"price\": 0, \"quantity\": 1, \"tax_classification\": \"TaxExempt\", \"service_period_starts\": \"2023-10-06T00:00:00+00:00\", \"service_period_ends\": \"2023-11-05T00:00:00+00:00\", \"tax_type\": \"Exclusive Sales\", \"discount\": 0, \"subtotal\": 0, \"total\": 0 } ], \"total_count\": 3 }, \"sales_tax_address\": { \"object\": \"Address\", \"vid\": \"80847a77b605c6bb0e904493cb0ab6ac4cd1f9f8\", \"name\": \"Jerry McTesterson\", \"line1\": \"11235 Fibonacci St\", \"city\": \"SAN MATEO\", \"district\": \"CA\", \"postal_code\": \"94403\", \"country\": \"US\" }, \"subscription_sequence\": 2, \"billing_plan_sequence\": 2, \"original_billing_date\": \"2023-10-06T00:00:00+00:00\", \"billing_attempt\": 0, \"subscription\": { \"object\": \"Subscription\", \"id\": \"sub_0lOUeBgGnU24BQPCQu-zfm3bTvQ\", \"vid\": \"865311f1b96bdfd33437c499feafb338b2566baa\", \"status\": \"Cancelled\" }, \"avs_code\": \"Zip/Postal: Match, Plus-4: No Match, Locale: Match (Code I3)\", \"cvn_checked\": false, \"payment_provider_response\": \"Soft Failure(D): Do Not Honor\" }"{
"code": "<string>",
"message": "<string>"
}{
"code": "<string>",
"message": "<string>"
}"{ \"object\": \"Error\", \"message\": \"This endpoint does not exist. Check our API docs.\" }"Fetch a Specific Transaction
Retrieves the specified Transaction.
curl --request GET \
--url https://virtserver.swaggerhub.com/Amdocs_Media/Subscribe_API_WIP/2024.09/transactions/{transaction} \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://virtserver.swaggerhub.com/Amdocs_Media/Subscribe_API_WIP/2024.09/transactions/{transaction}"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://virtserver.swaggerhub.com/Amdocs_Media/Subscribe_API_WIP/2024.09/transactions/{transaction}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://virtserver.swaggerhub.com/Amdocs_Media/Subscribe_API_WIP/2024.09/transactions/{transaction}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Basic <encoded-value>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://virtserver.swaggerhub.com/Amdocs_Media/Subscribe_API_WIP/2024.09/transactions/{transaction}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Basic <encoded-value>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://virtserver.swaggerhub.com/Amdocs_Media/Subscribe_API_WIP/2024.09/transactions/{transaction}")
.header("Authorization", "Basic <encoded-value>")
.asString();require 'uri'
require 'net/http'
url = URI("https://virtserver.swaggerhub.com/Amdocs_Media/Subscribe_API_WIP/2024.09/transactions/{transaction}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Basic <encoded-value>'
response = http.request(request)
puts response.read_body"{ \"object\": \"Transaction\", \"id\": \"qa_pymch_auth00010372\", \"vid\": \"0e513b1816ec0bf8ef6c3dc3ca1cee1ce5e67f6e\", \"created\": \"2023-10-04T13:46:02+00:00\", \"amount\": 530, \"currency\": \"USD\", \"division_number\": \"117729\", \"account\": { \"object\": \"Account\", \"id\": \"Account2_FYuVLvBc_X\", \"vid\": \"4b7fa60104d006d35704918a49cd7808a9096f9a\", \"created\": \"2023-10-04T13:45:47+00:00\", \"default_currency\": \"USD\", \"email_type\": \"html\", \"shipping_address\": { \"object\": \"Address\", \"vid\": \"877c482fc7bc09604a946a83c1a371df2b175f18\", \"name\": \"Jerry McTesterson\", \"line1\": \"11235 Fibonacci St\", \"city\": \"San Mateo\", \"district\": \"CA\", \"postal_code\": \"94403\", \"country\": \"US\" }, \"payment_methods\": { \"object\": \"List\", \"data\": [ { \"object\": \"PaymentMethod\", \"id\": \"PM2_FYuVLvBc_X\", \"vid\": \"4b9094c2c8c31e364dc3e20ec92bf37b8ddbd29c\", \"created\": \"2023-10-04T13:45:48+00:00\", \"type\": \"CreditCard\", \"credit_card\": { \"object\": \"CreditCard\", \"vid\": \"d942886b425698d641fc38137bd913552f767d2d\", \"account\": \"402524XXXXXX0088\", \"bin\": \"402524\", \"type\": \"VI\", \"last_digits\": \"0088\", \"account_length\": 16, \"expiration_date\": \"203012\", \"extended_card_attributes\": { \"object\": \"ExtendedCardAttributes\", \"commercial_card\": 0, \"signature_debit_card\": 0, \"prepaid_card\": 0, \"healthcare_card\": 0, \"country_of_issuance\": \"USA\", \"durbin_regulated\": 0, \"affluent\": 0 } }, \"account_holder\": \"Jerry McTesterson\", \"billing_address\": { \"object\": \"Address\", \"vid\": \"eab5edcf4d28549292e01e2641b7974b0f22715a\", \"name\": \"Jerry McTesterson\", \"line1\": \"11235 Fibonacci St\", \"city\": \"San Mateo\", \"district\": \"CA\", \"postal_code\": \"94403\", \"country\": \"US\" }, \"primary\": true, \"active\": true, \"linked_subscription\": false } ], \"total_count\": 1 } }, \"source_payment_method\": { \"object\": \"PaymentMethod\", \"id\": \"PM2_FYuVLvBc_X\", \"vid\": \"4b9094c2c8c31e364dc3e20ec92bf37b8ddbd29c\", \"created\": \"2023-10-04T13:45:48+00:00\", \"type\": \"CreditCard\", \"credit_card\": { \"object\": \"CreditCard\", \"vid\": \"d942886b425698d641fc38137bd913552f767d2d\", \"account\": \"402524XXXXXX0088\", \"bin\": \"402524\", \"type\": \"VI\", \"last_digits\": \"0088\", \"account_length\": 16, \"expiration_date\": \"203012\", \"extended_card_attributes\": { \"object\": \"ExtendedCardAttributes\", \"commercial_card\": 0, \"signature_debit_card\": 0, \"prepaid_card\": 0, \"healthcare_card\": 0, \"country_of_issuance\": \"USA\", \"durbin_regulated\": 0, \"affluent\": 0 } }, \"account_holder\": \"Jerry McTesterson\", \"billing_address\": { \"object\": \"Address\", \"vid\": \"eab5edcf4d28549292e01e2641b7974b0f22715a\", \"name\": \"Jerry McTesterson\", \"line1\": \"11235 Fibonacci St\", \"city\": \"San Mateo\", \"district\": \"CA\", \"postal_code\": \"94403\", \"country\": \"US\" }, \"primary\": true, \"active\": true, \"linked_subscription\": false }, \"status_log\": { \"object\": \"List\", \"data\": [ { \"object\": \"TransactionStatus\", \"status\": \"Cancelled\", \"created\": \"2023-10-04T13:47:33+00:00\", \"payment_method_type\": \"CreditCard\", \"credit_card_status\": { \"object\": \"TransactionStatusCreditCard\", \"auth_code\": \"530\", \"extended_card_attributes\": { \"object\": \"ExtendedCardAttributes\", \"commercial_card\": 0, \"signature_debit_card\": 0, \"prepaid_card\": 0, \"healthcare_card\": 0, \"country_of_issuance\": \"USA\", \"durbin_regulated\": 0, \"affluent\": 0 }, \"merchant_advice_code\": \"4\", \"merchant_advice_response\": \"Soft Failure(D): Generic response codes\", \"network_response_code\": \"05\", \"network_response\": \"Soft Failure(D): Do not honor\" }, \"note\": \"Auth Response Priority :NMP,Decision flag:N Table Name and Response Code: network_response_code :05,TxBilling Status :D , Networ\", \"auth_code_description\": \"Soft Failure\" }, { \"object\": \"TransactionStatus\", \"status\": \"Cancelled\", \"created\": \"2023-10-04T13:47:30+00:00\", \"payment_method_type\": \"CreditCard\", \"credit_card_status\": { \"object\": \"TransactionStatusCreditCard\", \"auth_code\": \"530\", \"avs_code\": \"I3\", \"extended_card_attributes\": { \"object\": \"ExtendedCardAttributes\", \"commercial_card\": 0, \"signature_debit_card\": 0, \"prepaid_card\": 0, \"healthcare_card\": 0, \"country_of_issuance\": \"USA\", \"durbin_regulated\": 0, \"affluent\": 0 }, \"merchant_advice_code\": \"4\", \"merchant_advice_response\": \"Soft Failure(D): Generic response codes\", \"network_response_code\": \"05\", \"network_response\": \"Soft Failure(D): Do not honor\" }, \"vin_avs\": \"FullMatch\", \"note\": \"Authorize Failed , Network code priority override 05 , Merchant code priority override 4\", \"auth_code_description\": \"Soft Failure\" }, { \"object\": \"TransactionStatus\", \"status\": \"New\", \"created\": \"2023-10-04T13:47:22+00:00\", \"payment_method_type\": \"CreditCard\", \"credit_card_status\": { \"object\": \"TransactionStatusCreditCard\", \"auth_code\": \"530\", \"extended_card_attributes\": { \"object\": \"ExtendedCardAttributes\", \"commercial_card\": 0, \"signature_debit_card\": 0, \"prepaid_card\": 0, \"healthcare_card\": 0, \"country_of_issuance\": \"USA\", \"durbin_regulated\": 0, \"affluent\": 0 }, \"merchant_advice_code\": \"4\", \"merchant_advice_response\": \"Soft Failure(D): Generic response codes\", \"network_response_code\": \"05\", \"network_response\": \"Soft Failure(D): Do not honor\" }, \"note\": \" , Network code priority override 05 , Merchant code priority override 4\" }, { \"object\": \"TransactionStatus\", \"status\": \"New\", \"created\": \"2023-10-04T13:47:21+00:00\", \"payment_method_type\": \"CreditCard\", \"credit_card_status\": { \"object\": \"TransactionStatusCreditCard\", \"auth_code\": \"530\", \"extended_card_attributes\": { \"object\": \"ExtendedCardAttributes\", \"commercial_card\": 0, \"signature_debit_card\": 0, \"prepaid_card\": 0, \"healthcare_card\": 0, \"country_of_issuance\": \"USA\", \"durbin_regulated\": 0, \"affluent\": 0 }, \"network_response_code\": \"05\", \"network_response\": \"Soft Failure(D): Do not honor\" }, \"note\": \" , Network code priority override 05\" }, { \"object\": \"TransactionStatus\", \"status\": \"New\", \"created\": \"2023-10-04T13:46:06+00:00\", \"payment_method_type\": \"CreditCard\", \"credit_card_status\": { \"object\": \"TransactionStatusCreditCard\", \"auth_code\": \"530\", \"extended_card_attributes\": { \"object\": \"ExtendedCardAttributes\", \"commercial_card\": 0, \"signature_debit_card\": 0, \"prepaid_card\": 0, \"healthcare_card\": 0, \"country_of_issuance\": \"USA\", \"durbin_regulated\": 0, \"affluent\": 0 } } } ], \"total_count\": 5 }, \"payment_processor\": \"Paymentech\", \"payment_processor_transaction_id\": \"27301000htua_hcmyp_aq\", \"shipping_address\": { \"object\": \"Address\", \"vid\": \"877c482fc7bc09604a946a83c1a371df2b175f18\", \"name\": \"Jerry McTesterson\", \"line1\": \"11235 Fibonacci St\", \"city\": \"San Mateo\", \"district\": \"CA\", \"postal_code\": \"94403\", \"country\": \"US\" }, \"metadata\": { \"vin:BillingPlanUnit\": \"month\", \"vin:BillingPlanLength\": \"1\", \"vin:decisionManagerEnabled\": \"0\", \"vin:merchant_accept_code\": \"4\", \"vin:RetryNumber\": \"0\", \"vin:BillingPlanDurationInSeconds\": \"0\", \"vin:BillingCycle\": \"1\", \"vin:FutureAmount\": \"530.00\", \"vin:netpriority\": \"05\" }, \"items\": { \"object\": \"List\", \"data\": [ { \"object\": \"TransactionItem\", \"sku\": \"bp_Y46Ltj_yvszy6QC2q9HBAkmW5kg\", \"br_tax_category\": \"Services\", \"index_number\": 1, \"item_type\": \"Purchase\", \"name\": \"product default plan Y46Ltj_yvszy6QC2q9H\", \"quantity\": 1, \"tax_classification\": \"TaxExempt\", \"service_period_starts\": \"2023-10-06T00:00:00+00:00\", \"service_period_ends\": \"2023-11-05T00:00:00+00:00\", \"tax_type\": \"Exclusive Sales\", \"total\": 0 }, { \"object\": \"TransactionItem\", \"sku\": \"tSPrFGDXonYbyLJ1Vu6gDKKupyo\", \"br_tax_category\": \"Services\", \"index_number\": 2, \"item_type\": \"Purchase\", \"name\": \"Test Product Description\", \"subscription_item\": { \"object\": \"SubscriptionItem\", \"id\": \"sub_item_4oS1XV9Envd47inHMj8ozkbGn_A\", \"vid\": \"fc5f1949e342b79c5198eb98bf40ef379b2ca069\" }, \"price\": 530, \"quantity\": 1, \"tax_classification\": \"TaxExempt\", \"service_period_starts\": \"2023-10-06T00:00:00+00:00\", \"service_period_ends\": \"2023-11-05T00:00:00+00:00\", \"tax_type\": \"Exclusive Sales\", \"subtotal\": 530, \"total\": 530 }, { \"object\": \"TransactionItem\", \"sku\": \"Total Tax\", \"index_number\": 3, \"item_type\": \"Purchase\", \"name\": \"Total Tax\", \"price\": 0, \"quantity\": 1, \"tax_classification\": \"TaxExempt\", \"service_period_starts\": \"2023-10-06T00:00:00+00:00\", \"service_period_ends\": \"2023-11-05T00:00:00+00:00\", \"tax_type\": \"Exclusive Sales\", \"discount\": 0, \"subtotal\": 0, \"total\": 0 } ], \"total_count\": 3 }, \"sales_tax_address\": { \"object\": \"Address\", \"vid\": \"80847a77b605c6bb0e904493cb0ab6ac4cd1f9f8\", \"name\": \"Jerry McTesterson\", \"line1\": \"11235 Fibonacci St\", \"city\": \"SAN MATEO\", \"district\": \"CA\", \"postal_code\": \"94403\", \"country\": \"US\" }, \"subscription_sequence\": 2, \"billing_plan_sequence\": 2, \"original_billing_date\": \"2023-10-06T00:00:00+00:00\", \"billing_attempt\": 0, \"subscription\": { \"object\": \"Subscription\", \"id\": \"sub_0lOUeBgGnU24BQPCQu-zfm3bTvQ\", \"vid\": \"865311f1b96bdfd33437c499feafb338b2566baa\", \"status\": \"Cancelled\" }, \"avs_code\": \"Zip/Postal: Match, Plus-4: No Match, Locale: Match (Code I3)\", \"cvn_checked\": false, \"payment_provider_response\": \"Soft Failure(D): Do Not Honor\" }"{
"code": "<string>",
"message": "<string>"
}{
"code": "<string>",
"message": "<string>"
}"{ \"object\": \"Error\", \"message\": \"This endpoint does not exist. Check our API docs.\" }"Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Path Parameters
The id or the vid of the Transaction to retrieve
Response
JSON A full Transaction object.
The Transaction object provides a way to charge a customer. You can create one-time transactions, retrieve individual transactions, fetch individual transactions, and list all Transactions for a given account or subscription. Posting with a new Transaction creates a new one-time Transaction object. If “to_be_captured” is false, the request will trigger an authorization attempt (based on the provided payment method’s authorization process). If successfully authorized, a subsequent post to the transaction’s actions/capture endpoint will capture the authorized transaction. If you post a new transaction with “to_be_captured” true, it will authorize and immediately capture the transaction if successful. To refund transactions, use the refunds endpoint.
Value is “Transaction”
Transaction A unique identifier. Optionally, this object can also be identified by its vid. Using a unique custom identifier is strongly encouraged.
128A Globally Unique Identifier (GUID) for this object. This value is generated by Vindicia.
128The time this transaction was initiated.
The net amount of the charge presented by this transaction, as a decimal. Must be positive (zero allowed).
Used with a partial payment; this read-only field reflects the original amount of the transaction, as a decimal.
The CSP’s division, reporting or processing group as defined with their payment processor.
The identifier of a previous version of this transaction.
The Account represents a merchant’s customer. As such it can contain as much or as little information as you collect about the customers (people or organizations) to which you offer billing and subscriptions. Subscriptions and Transactions must belong to an Account - as such, Accounts will be required in CashBox for billing. Read More in our User Guide
An Account can have any number of children accounts and may have up to one parent account. Read more in our User Guide.
An Account owns the “on file” payment methods to be used by it in billing.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
For ECP/ACH-specific types.
All, Inbound, InboundOutbound, NA, Outbound, Transfer A log of various TransactionStatus entries associated with this transaction.
Show child attributes
Show child attributes
The payment processor used for processing this transaction.
The identifier assigned to the Transaction by the Payment Processor.
The Address object represents a physical or mailing address.
Show child attributes
Show child attributes
A set of key/value pairs that you can attach to an object. Useful for storing additional information. For transactions resulting from a subscription, the metadata is also inherited from the subscription.
The array of Transaction Items belonging to this transaction. Items correspond to the charges, discounts, credits, and taxes.
Show child attributes
Show child attributes
CSP’s ID for the channel or affiliate associated with this transaction, if any. This is a free-form string of 128 characters or less.
Affiliate ID for a more granular channel component (see CSP_affiliate_id).
Information on the source of the transaction, such as the Customer’s user-agent string, as presented by the browser.
ISO language code string. Transaction value will override any language setting on the account.
MAC address of the customer (primarily intended for ISP usage), may be left blank if unavailable or inappropriate.
End-customer’s source IP associated with this transaction.
Optional “soft descriptor” to send to the payment processor for this transaction.
The Address object represents a physical or mailing address.
Show child attributes
Show child attributes
External verification response (e.g. Verified by Visa, MasterCard SecureCode).
The subscription’s billing cycle for which this transaction collects funds. As a zero-based index, this indicates the renewal number.
The billing cycle for which this transaction collects funds - as counted as a zero-based index from the last billing plan change for the associated subscription.
The mandates object represents the end-custom approval for a one-time or recurring billing using their provided bank account details. A common requirement for UK and SEPA direct debit payment methods.
Show child attributes
Show child attributes
The original scheduled billing date associated with the billing for which this transaction collects funds. For an initial attempt, this is the same as the transaction date; for a retry transaction this is the original attempt date.
The zero-based index counting the number of transaction attempts this particular transaction represents in collecting for given subscription billing cycle.
Show child attributes
Show child attributes
The chargeback and fraud risk score generated by Vindicia.
The datetime the score was calculated.
The datetime the score was originally calculated.
The reason codes justifying the risk score.
Show child attributes
Show child attributes
The distance from the IP Address to the Billing Address.
AVS Code
CVN Code.
Shows if the CVN was checked for this transaction.
The policy object governing how a Transaction is to be processed.
Show child attributes
Show child attributes
Indicator of whether the transaction is currently pending capture.
The response from the payment provider and the applicable action to take. Common responses are:
- Successful: Approved: The Payment Provider has accepted the transaction.
- Soft Failure: Decline: A payment capture attempt has failed but may indicate that an additional attempt may succeed, such as when the customer has insufficient funds. The classification of the type of fail is performed according to the error code returned by the payment provider and follows industry standards and recommendations.
- Hard Failure: Reject: A payment capture attempt has failed and indicates that additional attempts will subsequently fail, such as when the account has been terminated. The classification of the type of fail is performed according to the error code returned by the payment provider. Hard fails are not resubmitted for capture.

