Skip to main content
Version: 2.0.0

Get

Get

Retrieves the W-2G Correction return information based on the Submission ID given in the request.

GET FormW2GCorrection/get 

Request Params

FieldTypeDescription
SubmissionIdGuidAn unique identifier generated by TaxBandits when a W-2G return is created. Mention the Form W-2G return's Submission ID that you want to get.
RecordIdGuid[]An unique identifier generated by TaxBandits when a W-2G return is created. Mention the Form W-2G return's Record ID that you want to get.

Response Body

FieldTypeDescription
FormW2GRecordsobject[]Contains information about Form W-2G correction returns.
SubmissionManifestobject[]SubmissionManifest provides brief information about a particular submission as a whole.
SubmissionIdGuidUnique identifier created by TaxBandits for each submission.
TaxYearstringTax year of Form W-2G Correction filed.
ReturnHeaderobjectContains information about the Business details.
BusinessobjectObject to identify the Business Details.
BusinessIdGuidUnique identifier of the business generated by TaxBandits.
PayerRefstringYour unique identifier for the payer.
TINDetailsobjectReturns the TIN information for the business
FormatstringReturns the format of the TIN passed.
TINTypestringReturns the TIN type of the business.
TINstringReturns the TIN value according to the Format selected.
IndividualNmobjectReturns the individual's name details when the TIN type of the business is "SSN".
FirstNmstringThe first name of the individual.
MiddleNmstringMiddle name of the individual.
LastNmstringThe last name of the individual.
SuffixstringSuffix of the individual's name.
BusinessNmstringLegal name of the business. Required when TINType is EIN.
NameCtrlstringIRS name control of the business.
DBADetailsobject[]DBA (Doing Business As) information.
DBANmstringName of the DBA.
DBARefstringUnique identifier for the DBA.
DBAIdGUIDUnique identifier of the DBA generated by TaxBandits.
IsDefaultDBABooleanIdentifies whether the DBA is designated as the default DBA.
Addressobject[]Returns address information of DBA.
Address1stringStreet address or PO Box.
Address2stringSuite or apartment number.
CitystringDBA's city.
ProvinceOrStateNmstringDBA's province or state name.
ZipCdstringDBA's ZIP code.
CountrystringDBA's 2-character country code.
EmailstringEmail address of the Business.
AddressobjectPrimary address of the business.
Address1stringStreet address or PO Box of the business.
Address2stringSuite or apartment number of the business.
CitystringCity of the business.
ProvinceOrStateNmstringProvince or state name of the business.
ZipCdstringZIP code of the business.
Countrystring2-character country code of the business.
ContactDetailsobject[]Returns details of the person the IRS can contact regarding this business.
FirstNmstringFirst name of the contact person.
MiddleNmstringMiddle name of the contact person.
LastNmstringLast name of the contact person.
SuffixstringThe suffix of the contact person.
PhonestringPhone number of the contact person.
PhoneExtnstringPhone extension number.
EmailstringEmail address of the contact person.
FaxstringFax number of the contact person.
ReturnDataobject[]Contains information about the recipient details and Form W-2G correction details.
SequenceIdstringA unique reference ID for the submission that can be used to identify a particular record.
ReturnManifestobject[]Returns a high-level summary of a return, including information about the postal service, federal filing, state filing, and recipient copy distribution configurations and correction details associated with the return.
IsFederalBooleanIdentifies whether Federal filing is enabled for the return.
IsStateBooleanIdentifies whether State filing is enabled for the return.
IsDistributionBooleanIdentifies whether Recipient distribution is enabled for the return.
DistributionDetailsobject[]Returns recipient distribution configuration details.
DistributionTypestringRecipient copy distribution type.
PostalTypestringReturns postal service type.
CorrectionDetailsObjectReturns information required to identify the correction type for the Form W-2G return.
FederalCorrectionTypeStringReturns type of correction for federal filing you are filing for the recipient.
PrevReportedRecordIdGuidReturns the previously reported Record ID filed with TaxBandits.
OriginalFilingMethodStringReturns the filing method used to submit the Form W-2G return to the IRS.
IRISUniqueIdsObjectGets the IRIS unique identifiers associated with the previously filed original return.
UTIDStringReturns the Unique Transmission Identifier (UTID) used to track the original return.
ReceiptIdStringReturns an identifier that confirms IRIS received the transmission.
SubmissionIdStringReturns an identifier that represents a specific submission within a transmission.
RecordIdStringReturns an identifier that represents an Individual return within a submission.
PrevReportedRecipientDataobjectReturns recipient information that was submitted in the Original Form W-2G.
RecipientIdGuidUnique identifier of the recipient generated by TaxBandits.
PayeeRefstringYour unique identifier for the recipient.
TINDetailsobjectRetruns recipient TIN information.
FormatstringReturns the format of the TIN passed.
TINTypestringReturns the TIN type of the recipient.
TINstringReturns the TIN value according to the Format selected.
IndividualNmObjectReturns the individual's name details when the TIN type of the recipient is "SSN".
FirstNmStringThe first name of the individual.
MiddleNmStringThe middle name of the individual.
LastNmStringThe last name of the individual.
SuffixStringThe suffix of the individual's name.
BusinessNmstringLegal name of the recipient business. Required when TINType is EIN.
NameCtrlstringIRS name control of the recipient.
CorrectRecipientDataobjectReturns corrected Recipient Name and TIN value.
TINDetailsobjectRecipient TIN information.
FormatstringReturns the format of the TIN passed.
TINTypestringReturns the TIN type of the recipient.
TINstringReturns the TIN value according to the Format selected.
IndividualNmObjectReturns the individual's name details when the TIN type of the recipient is "SSN".
FirstNmStringThe first name of the individual.
MiddleNmStringThe middle name of the individual.
LastNmStringThe last name of the individual.
SuffixStringThe suffix of the individual's name.
BusinessNmstringLegal name of the recipient business. Required when TINType is EIN.
NameCtrlstringIRS name control of the recipient.
AddressObjectPrimary address of the recipient.
Address1StringStreet address or PO Box of the recipient.
Address2StringSuite or apartment number of the recipient.
CityStringCity of the recipient.
ProvinceOrStateStringProvince or state name of the recipient.
ZipCdStringZIP code of the recipient.
CountryString2-character country code of the recipient.
W2GFormDataobjectRecipient's Form W-2G information.
ReportableWinningsNumberEnter the Reportable winning amount.
Size Range: 0–9999999999.99
DateWonNumberEnter the date of the winning event in the format: MM/DD/YYYY or MM-DD-YYYY Example: 01/25/2026 or 01-25-2026.
WagerTypeStringEnter the type of wager
Allowed values

"HORSE_RACETRACK", "DOG_RACETRACK", "JAI_ALAI", "STATE_CONDUCTED_LOTTERY","KENO", "BINGO", "SLOT_MACHINES", "POKER_WINNINGS","ANY_OTHER_TYPE_OF_GAMBLING_WINNINGS", “SPORTS_WAGERING”

FedTaxWHNumberEnter any federal income tax withheld, whether regular gambling withholding or backup withholding.
Size Range: 0–9999999999.99
Note: This value should be less than 40% of box 1.
TxnStringEnter the ticket or card number (and color, if applicable), machine serial number, other identifying number or any other information that will help identify the winning transaction.
Size Range: 15
RaceStringEnter the race (or game) relating to the winning ticket.
Size Range: 5
WinningsIdWagersNumberEnter the amount of additional winnings from identical wagers.
Size Range: 0-9999999999.99
CashierStringEnter the initials or number of the cashier making the winning payment.
Size Range: 5
WindowStringEnter the window number or location of the person paying the winning payment.
Size Range: 5
FirstIdStringEnter the first identification number of the person receiving the winning payment.
Size Range: 15
SecondIdStringEnter the second identification number of the person receiving the winnings.
Size Range: 15
Statesobject[]List of state filing details.
StateCorrectionTypeStringSpecify the type of state correction you are filing.
Allowed values

VOID - The state filing was submitted incorrectly and should not have been processed
CORRECTION - Used to correct previously reported amounts or codes
NEW - Used to add new state information that was not included in the original filing.

Note: To update a previously filed state, you must first indicate the original state as VOID, then add the new state using the NEW correction type.
StateCdstring2-character state code.
Allowed values

"AL", "AK", "AZ", "AR", "CA", "CO", "CT", "DE", "DC", "FL", "GA", "HI", "ID", "IL", "IN", "IA", "KS", "KY", "LA", "ME", "MD", "MA", "MI", "MN", "MS", "MO", "MT", "NE", "NV", "NH", "NJ", "NM", "NY", "NC", "ND", "OH", "OK", "OR", "PA", "RI", "SC", "SD", "TN", "TX", "UT", "VT", "VA", "WA", "WV", "WI", "WY", "AS", "FM", "GU", "MH", "MP", "PW", "PR", "VI", "AA", "AE", "AP"

StateIdNumstringPayer’s state identification number.
Size Range: ..20
StateWinningsNumberEnter the Reportable state winning amount.
Size Range: 0-9999999999.99
StateWHnumberState income tax withheld.
Size Range: 0-9999999999.99
LocalWinningsNumberEnter the Reportable Local winning amount.
Size Range: 0-9999999999.99
LocalWHnumberLocal income tax withheld.
Size Range: 0-9999999999.99
LocalityNmnumberName of the Locality.
Size Range: 0-9999999999.99
Request Params
SampleDescriptionAction
Sample 1
Use the SubmissionId alone to get the full submission, or include RecordId to get a specific record.
Sample 1
FormW2GCorrection/get?SubmissionId=f561a414-c92f-4026-9c29-71cd1979bf72&RecordIds=71cd1979bf72-f561a414-c92f-4026-9c29
Response JSON
ResponseDescriptionAction
200
Success Response - This is a sample response for successful API requests.
401
Unauthorized Response - This is a sample response when the access token is missing, expired, or invalid.
Response: 200
{
"FormW2GRecords": {
"SubmissionManifest": {
"SubmissionId": "c672df52-6d1e-45ba-8631-aff8339d7fa3",
"TaxYear": "2026"
},
"ReturnHeader": {
"Business": {
"BusinessId": null,
"PayerRef": "Snow123",
"TINDetails": {
"Format": "PLAIN_TIN",
"TINType": "EIN",
"TIN": "12-0239751"
},
"IndividualNm": null,
"BusinessNm": "Horizon LLC",
"NameCtrl": "HORI",
"DBADetails": null,
"Email": "horizonllc@sample.com",
"Address": {
"Address1": "2500 Horizon Parkway",
"Address2": "Suite 200",
"City": "Plano",
"ProvinceOrState": "TX",
"ZipCd": "75024",
"Country": "US"
},
"ContactDetails": {
"FirstNm": "Michael",
"MiddleNm": "A",
"LastNm": "Carter",
"Suffix": "Jr",
"Phone": "9725550100",
"PhoneExtn": "205",
"Email": "michael.carter@sample.com",
"Fax": "9725550199"
}
}
},
"ReturnData": [
{
"SequenceId": "1",
"ReturnManifest": {
"IsFederal": true,
"IsState": true,
"IsDistribution": true,
"DistributionDetails": {
"DistributionType": "POSTAL_ONLY",
"PostalType": "USPS_FIRST_CLASS"
},
"CorrectionDetails": {
"FederalCorrectionType": "RECIPIENT",
"PrevReportedRecordId": null,
"OriginalFilingMethod": "IRIS",
"IRISUniqueIds": {
"UTID": "37f44812-b4ed-4255-aba2-afc13a56493a:IRIS:DB7RM::A",
"ReceiptId": "2024-65384464963-c12b927aa",
"SubmissionId": "66522383",
"RecordId": "98517992"
}
}
},
"PrevReportedRecipientData": {
"RecipientId": null,
"PayeeRef": "DAI001",
"TINDetails": {
"Format": "PLAIN_TIN",
"TINType": "EIN",
"TIN": "45-9875461"
},
"NameCtrl": null,
"BusinessNm": "Dairy Delights LLC",
"IndividualNm": {
"FirstNm": "David",
"MiddleNm": "R",
"LastNm": "Thompson",
"Suffix": "Jr"
}
},
"CorrectRecipientData": {
"TINDetails": {
"Format": "PLAIN_TIN",
"TINType": "SSN",
"TIN": "597-85-6598"
},
"IndividualNm": {
"FirstNm": "Davidson",
"MiddleNm": "R",
"LastNm": "Thompson",
"Suffix": "Jr"
},
"BusinessNm": null,
"NameCtrl": null,
"DBADetails": null,
"Address": {
"Address1": "1450 Oak Lawn Avenue",
"Address2": "Apt 310",
"City": "Dallas",
"ProvinceOrState": "TX",
"ZipCd": "75207",
"Country": "US"
},
"Email": "david.thompson@example.com",
"Fax": "9725550199",
"Phone": "9725550100"
},
"W2GFormData": {
"ReportableWinnings": 50000.65,
"DateWon": "02/15/2026",
"WagerType": "DOG_RACETRACK",
"FedTaxWH": 500.82,
"Txn": null,
"Race": "Horse",
"WinningsIdWagers": 700.89,
"Cashier": null,
"Window": 12345,
"FirstId": "DL123456789",
"SecondId": "PP987654321",
"States": [
{
"StateCorrectionType": "NEW",
"StateCd": "CA",
"StateIdNum": "123456789",
"StateWinnings": 1000.56,
"StateWH": 100.28,
"LocalWinnings": 300.23,
"LocalWH": 100.45,
"LocalityNm": "Los Angeles"
}
]
},
"Errors": null
}
]
}
}