Comunidade

Ask a Question
Back to All

Erro charges[0].payment_method.card.encrypted

Estou mandando esse requisição e está dando esse erro consegue me ajudar, ja gerei até outra publickey e nada

{"reference_id":"09112023172739612548","customer":{"name":"das","email":"[email protected]","tax_id":"31748455052"},"items":[{"reference_id":183,"name":"Anuidades (Anuidade 2023)","quantity":1,"unit_amount":100}],"charges":[{"description":"apbm","amount":{"value":100,"currency":"BRL"},"payment_method":{"type":"CREDIT_CARD","installments":"1","capture":false,"card":{"encrypted":"BtjQEk0MbY+IbB7TV60DVSgeOLUEulbF6dNFG4TSnkIf3E8ru46T3+dBNTJzecRUqrGOlq41TdAT+5xlXNIzI8X8nzRdEE+RZ5cOzvq2/ASoaHeL+FMKqzXHM0PiL3Y/VYZkR3eg2BLkNk8ieSkPKh3T2bO9NseSYOk/r7YDFdWTXQ5nHnNXSrYHeQIPoht/18dtsp8mduY6iFRj06NmY8JKd3WBuJDWbSbHiVKu9TDlE4uKsuuujboNo0zBcVywYK//TXJkR8fVRMRatnvNGETkuSarh4Z2sN9qW17ZYVj1pKKBHTBaUPuf1LNYv14/xvR/jT1cPVGbv4J60waNTw==","securi
ty_code":"203","holder":{"name":"das"},"store":false}}}],"notification_urls":["https://pagseguro.com.br/noitificaoes.php?reference=09112023172739612548"],"metadata":null}

response:{"error_messages":[{"code":"40002","description":"invalid_parameter","parameter_name":"charges[0].payment_method.card.encrypted"}]}