I know I am kinda late in the party here ... but from what I can tell, I don't think they are allowing PIX transactions via API, am I right?
Whenever I try to run my code, I get this error message:
{"code": "58407", "data": [], "msg": "API withdrawal isn't allowed for this payment method. Withdraw using OKX app or web"}
Is your code still working? If not, how did you overcome this gap?