cURL
curl --request POST \ --url https://api.example.com/api/v1/crypto-pix/onchain/pay \ --header 'Content-Type: application/json' \ --data ' { "qrcode": "<string>", "network": "<string>" } '
{ "data": { "pixKey": "<string>", "payCryptoPixId": "<string>", "value": 123 } }
Converta criptomoeda e faça um pagamento PIX
bsc
eth
curl -X POST "https://server.cryptouse.com.br/api/v1/crypto-pix/onchain/pay" \ -H "Content-Type: application/json" \ -H "Authorization: Bearer seu_token_aqui" \ -d '{ "qrcode": "00020101021226890014br.gov.bcb.pix2557brcode.example.com/pix/v2/cobv/9d36b84f10194c88ab8b9113b94fb24825204000053039865802BR5913EMPRESA TESTE6008SAO PAULO62070503***6304E2CA", "network": "bsc" }'
Show Propriedades
{ "data": { "pixKey": "email@exemplo.com", "payCryptoPixId": "cptpix_12345abcde", "value": 120.50 } }