curl --request POST \
--url https://gateway.3xpay.co/transaction \
--header 'Content-Type: application/json' \
--header 'api_key: <api-key>' \
--header 'api_secret: <api-key>' \
--data '
{
"transaction": {
"customer_infos": {
"name": "<string>",
"email": "<string>",
"document": "<string>",
"phone": "<string>"
},
"address": {
"zipcode": "<string>",
"street": "<string>",
"number": "<string>",
"district": "<string>",
"city": "<string>",
"state": "<string>",
"adjunct": "<string>"
},
"payment_method": "PIX",
"callback_url": "<string>",
"products": [
{
"name": "<string>",
"price": 123,
"quantity": 123
}
],
"installments": 123,
"card_payment_method_id": "<string>",
"card_number": "<string>",
"expiration_date": "<string>",
"cvv": "<string>",
"holder_name": "<string>"
}
}
'