postInvoiceResults
create a invoiceResult.
In: header
Header Parameters
A single-use, limited authentication layer in addition to an API Key or Session Key to authorize sensitive operations. Auth Tokens add security by requiring one-time approval for specific actions.
A custom, one-time identifier for any API request (GET, PUT, POST, or DELETE). Blocks future requests with the same token for 48 hours, ensuring only the first request is processed. Valid values can contain 1-100 alphanumeric and special characters. See Request Tokens for more information.
Request Body
application/json
Create Invoice Result Request
Create Invoice Result Request
The identifier of the Invoice that owns this invoiceResults resource.
The identifier of the Transaction associated with this invoiceResults resource.
The status of this invoiceResult
-
success- Successfuly processed. -
failure- Failed to process.
Value in
- "success"
- "failure"
A message that accompanies and describes this invoice result. This field is specified as a text string and must be between 1 and 500 characters long.
The shipping first name associated with this InvoiceResult. This field is stored as a text string and must be between 0 and 100 characters long.
The shipping middle name associated with this InvoiceResult. This field is stored as a text string and must be between 0 and 100 characters long.
The shipping last name associated with this InvoiceResult. This field is stored as a text string and must be between 0 and 100 characters long.
The shipping name of the company associated with this InvoiceResult. This field is stored as a text string and must be between 0 and 100 characters long.
The shipping first line of the address associated with this InvoiceResult. This field is stored as a text string and must be between 0 and 500 characters long.
The shipping second line of the address associated with this InvoiceResult. This field is stored as a text string and must be between 0 and 500 characters long.
The shipping name of the city in the address associated with this InvoiceResult. This field is stored as a text string and must be between 0 and 500 characters long.
The U.S. state or Canadian province relevant to the address provided here. If the location is within the U.S. and Canada, specify the 2-character postal abbreviation for the state. If the location is outside of the U.S. and Canada, provide the full state name. This field is stored as a text string and must be between 2 and 100 characters long.
-
AK- Alaska (US) -
AR- Arkansas (US) -
AL- Alabama (US) -
AZ- Arizona (US) -
CA- California (US) -
CO- Colorado (US) -
CT- Connecticut (US) -
DE- Delaware (US) -
FL- Florida (US) -
GA- Georgia (US) -
HI- Hawaii (US) -
IA- Iowa (US) -
ID- Idaho (US) -
IL- Illinois (US) -
IN- Indiana (US) -
KY- Kentucky (US) -
KS- Kansas (US) -
LA- Louisiana (US) -
MA- Massachusetts (US) -
MD- Maryland (US) -
ME- Maine (US) -
MI- Michigan (US) -
MN- Minnesota (US) -
MO- Missouri (US) -
MS- Mississippi (US) -
MT- Montana (US) -
NC- North Carolina (US) -
ND- North Dakota (US) -
NE- Nebraska (US) -
NH- New Hampshire (US) -
NJ- New Jersey (US) -
NM- New Mexico (US) -
NV- Nevada (US) -
NY- New York (US) -
OH- Ohio (US) -
OK- Oklahoma (US) -
OR- Oregon (US) -
PA- Pennsylvania (US) -
RI- Rhode Island (US) -
SC- South Carolina (US) -
SD- South Dakota (US) -
TN- Tennessee (US) -
TX- Texas (US) -
UT- Utah (US) -
VA- Virginia (US) -
VT- Vermont (US) -
WA- Washington (US) -
WI- Wisconsin (US) -
WV- West Virginia (US) -
WY- Wyoming (US)
-
AB- Alberta (CAN) -
BC- British Columbia (CAN) -
MB- Manitoba (CAN) -
ON- Ontario (CAN) -
NS- Nova Scotia (CAN) -
NB- New Brunswick (CAN) -
NL- Newfoundland and Labrador (CAN) -
NT- Northwest Territories (CAN) -
NU- Nunavut (CAN) -
PE- Prince Edward Island (CAN) -
QC- Quebec (CAN) -
SK- Saskatchewan (CAN) -
YT- Yukon (CAN)
The shipping zip code in the address associated with this InvoiceResult. This field is stored as a text string and must be between 1 and 20 characters long.
The shipping country associated with this InvoiceResult, valid values being the 3-letter ISO code for the country.
Value in
- "ABW"
- "AFG"
- "AGO"
- "AIA"
- "ALA"
- "ALB"
- "AND"
- "ARE"
- "ARG"
- "ARM"
- "ASM"
- "ATA"
- "ATF"
- "ATG"
- "AUS"
- "AUT"
- "AZE"
- "BDI"
- "BEL"
- "BEN"
- "BES"
- "BFA"
- "BGD"
- "BGR"
- "BHR"
- "BHS"
- "BIH"
- "BLM"
- "BLR"
- "BLZ"
- "BMU"
- "BOL"
- "BRA"
- "BRB"
- "BRN"
- "BTN"
- "BVT"
- "BWA"
- "CAF"
- "CAN"
- "CCK"
- "CHE"
- "CHL"
- "CHN"
- "CIV"
- "CMR"
- "COD"
- "COG"
- "COK"
- "COL"
- "COM"
- "CPV"
- "CRI"
- "CUB"
- "CUW"
- "CXR"
- "CYM"
- "CYP"
- "CZE"
- "DEU"
- "DJI"
- "DMA"
- "DNK"
- "DOM"
- "DZA"
- "ECU"
- "EGY"
- "ERI"
- "ESH"
- "ESP"
- "EST"
- "ETH"
- "FIN"
- "FJI"
- "FLK"
- "FRA"
- "FRO"
- "FSM"
- "GAB"
- "GBR"
- "GEO"
- "GGY"
- "GHA"
- "GIB"
- "GIN"
- "GLP"
- "GMB"
- "GNB"
- "GNQ"
- "GRC"
- "GRD"
- "GRL"
- "GTM"
- "GUF"
- "GUM"
- "GUY"
- "HKG"
- "HMD"
- "HND"
- "HRV"
- "HTI"
- "HUN"
- "IDN"
- "IMN"
- "IND"
- "IOT"
- "IRL"
- "IRN"
- "IRQ"
- "ISL"
- "ISR"
- "ITA"
- "JAM"
- "JEY"
- "JOR"
- "JPN"
- "KAZ"
- "KEN"
- "KGZ"
- "KHM"
- "KIR"
- "KNA"
- "KOR"
- "KWT"
- "LAO"
- "LBN"
- "LBR"
- "LBY"
- "LCA"
- "LIE"
- "LKA"
- "LSO"
- "LTU"
- "LUX"
- "LVA"
- "MAC"
- "MAF"
- "MAR"
- "MCO"
- "MDA"
- "MDG"
- "MDV"
- "MEX"
- "MHL"
- "MKD"
- "MLI"
- "MLT"
- "MMR"
- "MNE"
- "MNG"
- "MNP"
- "MOZ"
- "MRT"
- "MSR"
- "MTQ"
- "MUS"
- "MWI"
- "MYS"
- "MYT"
- "NAM"
- "NCL"
- "NER"
- "NFK"
- "NGA"
- "NIC"
- "NIU"
- "NLD"
- "NOR"
- "NPL"
- "NRU"
- "NZL"
- "OMN"
- "PAK"
- "PAN"
- "PCN"
- "PER"
- "PHL"
- "PLW"
- "PNG"
- "POL"
- "PRI"
- "PRK"
- "PRT"
- "PRY"
- "PSE"
- "PYF"
- "QAT"
- "REU"
- "ROU"
- "RUS"
- "RWA"
- "SAU"
- "SDN"
- "SEN"
- "SGP"
- "SGS"
- "SHN"
- "SJM"
- "SLB"
- "SLE"
- "SLV"
- "SMR"
- "SOM"
- "SPM"
- "SRB"
- "SSD"
- "STP"
- "SUR"
- "SVK"
- "SVN"
- "SWE"
- "SWZ"
- "SXM"
- "SYC"
- "SYR"
- "TCA"
- "TCD"
- "TGO"
- "THA"
- "TJK"
- "TKL"
- "TKM"
- "TLS"
- "TON"
- "TTO"
- "TUN"
- "TUR"
- "TUV"
- "TWN"
- "TZA"
- "UGA"
- "UKR"
- "UMI"
- "URY"
- "USA"
- "UZB"
- "VAT"
- "VCT"
- "VEN"
- "VGB"
- "VIR"
- "VNM"
- "VUT"
- "WLF"
- "WSM"
- "XXK"
- "YEM"
- "ZAF"
- "ZMB"
- "ZWE"
The shipping phone number associated with this InvoiceResult. This field is stored as a text string and must be between 5 and 15 characters long.
The shipping fax number associated with this InvoiceResult, stored as a text string and must be between 5 and 15 characters long.
The authorization text the customer agreed to when making this payment.
Replacement data for replaceable strings in the authorization text.
The signature on file for the customer’s authorization acceptance.
Response Body
application/json
application/json
curl -X POST "https://example.com/invoiceResults" \ -H "Content-Type: application/json" \ -d '{ "invoice": "t1_inv_00b62cb82db90057aae4157", "txn": "p1_txn_67b7c41d9d166b99ac02b36", "status": "success", "message": "Invoice Paid", "shippingFirst": "John", "shippingMiddle": "M", "shippingLast": "Doe", "shippingCompany": "Doe Shippin Co.", "shippingAddress1": "123 Mai st.", "shippingAddress2": "Suite 10", "shippingCity": "Springfield", "shippingState": "TX", "shippingZip": "62701", "shippingCountry": "USA", "shippingPhone": "+1123456784", "shippingFax": "+1123456784", "authorization": "Test Authorization with a field name = :field: and a replace text = :replace:", "authorizationData": "{\\"field\\":\\"field\\", \\"replace\\":\\"replace\\"}", "signature": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSop" }'{ "response": { "data": [ { "id": "t1_inr_00a18bcde1a1b2ec3d9c9az", "created": "2025-01-31 08:42:16.7318", "modified": "2025-01-31 08:42:16.7318", "creator": "t1_log_0092b50e8812b18e41d511s", "modifier": "t1_log_0092b50e8812b18e41d511s", "invoice": "t1_inv_67b7c41d9d166b99ac02b36", "txn": "p1_txn_00b7c41d9d166b99ac01b10", "status": "success", "message": "Invoice Paid", "shippingFirst": "John", "shippingMiddle": "M", "shippingLast": "Doe", "shippingCompany": "Doe Shipping Co.", "shippingAddress1": "123 Main st.", "shippingAddress2": "Suite 100", "shippingCity": "Springfield", "shippingState": "TX", "shippingZip": "62701", "shippingCountry": "USA", "shippingPhone": "+11234567845", "shippingFax": "+11234567845", "authorization": "Test Authorization with a field name = :field: and a replace text = :replace:", "authorizationData": "{\"field\":\"field\",\"replace\":\"replace\"}", "signature": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAYEBQYFBAYGBQYHB7A1mFUdV1dy+LOL9C6HE7XK5uPW945ne06NVJ+dt4HsRr9u33igKE411GteR5/fsVtkFVJNZmAz1gaDAX7AdGDvYcCSORyWv" } ], "details": { "requestId": 1, "totals": [], "page": { "current": 1, "last": 1, "hasMore": false } }, "errors": [] }}getInvoiceResults GET
Query InvoiceResults resource that represents the result of an invoice processing. In other words, when the customer pays for an invoice it will then generate an invoice result.
getInvoicesId GET
Query an Invoice or use it for invoicing customers, email the invoice to them, allow them to pay the invoice and track payments with invoices.
