x

Transaction ID from the API

I'm using the C# api.

 

I'm using the CaptureTransaction method on a delayed Charge transction. It appears that the only way to tell if it works properly, is if there are no errors. Is this the way it's supposed to work? IS there supposed to be a transaction ID for the captured transaction, or is it the same transactionId from the the authorization?

 

Thank you

Tags (1)
2,039 Views
Message 1 of 2
Report
1 Best Answer
Square

Best Answer

Great question! Yes. If there are no errors, then the charge was successful. The transaction encompasses both the authorization and the capture, so the transaction ID is the same for the authorization and the capture.

 

FYI - In the future feel free to check out Square Connect's Stack Overflow page. It's been a great resource for our developer community, and there's already a ton of questions that have been answered there.

 


Sean
he/him/his
Product Manager | Square, Inc.

View Best Answer >

2,603 Views
Message 2 of 2
Report
1 REPLY 1
Square

Best Answer

Great question! Yes. If there are no errors, then the charge was successful. The transaction encompasses both the authorization and the capture, so the transaction ID is the same for the authorization and the capture.

 

FYI - In the future feel free to check out Square Connect's Stack Overflow page. It's been a great resource for our developer community, and there's already a ton of questions that have been answered there.

 


Sean
he/him/his
Product Manager | Square, Inc.
2,604 Views
Message 2 of 2
Report