curl --request POST \
--url https://gateway.3xpay.co/transaction/cash-in \
--header 'Content-Type: application/json' \
--header 'api_key: <api-key>' \
--header 'api_secret: <api-key>' \
--data '{
"transaction": {
"amount": 123,
"callback_url": "<string>",
"external_id": "<string>",
"expiration": 3600,
"custom_message": "Pix para o pedido 123456",
"debtor": {
"name": "João da Silva",
"document": "12345678901"
}
}
}'