get https://sandbox.asaas.com/api/v3/payments/
To retrieve a specific charge, you need to have the ID that Asaas returned when it was created.
Avoid polling
Polling is the practice of making successive
GET
requests to check the status of charges. It is considered bad practice due to its occasional high resource consumption. We recommend that you use our Webhooks to receive changes in the status of charges and keep your application up to date.Making too many requests can lead to your API key being blocked due to abuse.
Read more: Pooling vs. Webhooks