Transaction Search API response is missing "Tax Id" and "Tax Id Type" from payers in Brazil

guijs
Contributor
Contributor

The REST API Transaction Search API response is not including "Tax Id" and "Tax Id Type" from payers in Brazil. How do I retrieve this data from the API? This information is available in the online reports and also is displayed when searching the transactions history through my business account. 

 

In the request query parameters I'm including:

'fields' => 'all',
'balance_affecting_records_only' => 'N',
 
I have tried all possible query parameters but none will retrieve "tax_id" or "tax_id_type".
 
I've tried to search for these parameters in the Developer's page and found a reference for tax_info (which is exactly what I need) in the Subscriptions definitions, but that does not help me since I need the data from all payments received, e.g., transaction_type "T0007".
 
How do I obtain this parameters from the API?
Login to Me Too
2 REPLIES 2

vaishnavib
Moderator
Moderator

Good day @guijs

 

Thank you for posting to the PayPal community.

 

I regret to inform you that it is not possible to retrieve the "Tax ID" and "Tax ID Type" for the Transaction Search API. If you would like to learn more about the responses for the list transactions API, please refer to the following link: https://developer.paypal.com/docs/api/transaction-search/v1/#balances_get.

 

If you still facing issues, please create an MTS ticket via - https://www.paypal-support.com/s/?language=en_US  with the detailed information and error details.

 

Sincerely,

Vaishnavi

PayPal MTS

 

If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.

Login to Me Too

OUSS-MAN
New Community Member
It seems like you're encountering a discrepancy between the data available in the REST API Transaction Search response and the data displayed in your business account's online reports. Since the "Tax Id" and "Tax Id Type" information is crucial for your use case, I recommend reaching out to the support team of the payment service provider. They should be able to clarify whether this data is indeed available through the API and, if so, guide you on the correct query parameters or any additional steps required to retrieve it. If the data is not currently available through the API, you could also request it as a feature enhancement from the provider.
Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.