These docs are for v1.2. Click to read the latest docs for v1.4.

Comunidade

Ask a Question
Back to All

Bendito token!

meu codigo

', CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => '', CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => 'POST', CURLOPT_POSTFIELDS => 'client_id=824167f8-f32e-4dac-a83d-b8cd83ebbcb0&client_secret=l45RgUjAHbQBXxrR4P8zVLPxZKRATuahTFG9SS7_dVCxv7aBkGnt72ejU0vz58-BkrDuPk-8kLkBwDixptzVnQ&grant_type=client_credentials&scope=empresas.btgpactual.com%2Fpix-cash-in', CURLOPT_HTTPHEADER => array( 'Content-Type: application/x-www-form-urlencoded', 'Cookie: ak_bmsc=C464CCAFF818130719BE55A0C8A4711E~000000000000000000000000000000~YAAQJ6hNaKrtlveJAQAAdh3TPBQAYMLrjnQ67noPDHfc/gCXFzw4duX3bMkqiLrYkukzwhz2gRkmtxsuH9KpL4gYrfwm7VjZPiFLPTu8Os2aJuCpTodaOewKCairMXqnI/EeuyXA8K88c22LmOUaMsinaUnwogEIkVp0OATtj9vDEgISpZHO/G0x2WXYgfTzxlQLzBT94nwpoZ1kzcpUBlsYMSFYPUqT3V+usFxCakLtHlRaEnRWBIs6T7J10I2bnNGGmZxF7v1xAE7zZUIvTeGMQOEGk+BB9IlojXppx4w9ANmVHe6IAIs+gr2yeWIQQuKHekMNU4CwJyU7N0dxErNgduRP1OTXgudOcgK0SqQC+8sSPeC4MKPfTu9XUNj4; bm_sv=E872AAE380432B88206C677075C79600~YAAQJ6hNaOEVl/eJAQAAjILUPBQPANMelfRfp9ujwwO4k4ZbI4ROx7FG0SrwBYsfG2EGD1+4anXDVKuM13pL1RETOFzyPKASt/VDBVycH6r29Djf1lhuJ1ZFmo9bcx0EFL3LMh3s325bXO7y6po18GQ4LqJEjI2E+z9f759b+z6GlHaR0kQcimVfXw6s1EV+hzAbvrGQGYbYtxro4b0BkeRi4REWqMBJaNqtCdIm/Gfg8ZqY0kgPc0auSiNbOqNDSJEKFQ==~1; sessionId=3032ee85-223b-4763-917d-ac0755861e6a' ), )); $response = curl_exec($curl); curl_close($curl); echo $response; esta me retornando {"error_description":"[A157303] The request contains data for client authentication although the client type is 'public' and the client authentication method is 'none'.","error":"invalid_client","error_uri":" nao há cerebro nem chatgpt que me faça resolver isso!!