curl --request POST \
--url https://api.example.com/payin \
--header 'Content-Type: application/json' \
--data '
{
"paymentMethod": "<string>",
"amount": 123,
"referenceId": "<string>",
"payerIp": "<string>",
"isPhysicalProduct": true,
"webhookUrl": "<string>",
"card": {
"holderName": "<string>",
"number": "<string>",
"expirationMonth": "<string>",
"expirationYear": "<string>",
"cvv": "<string>",
"installments": 123,
"token": "<string>"
},
"customer": {
"name": "<string>",
"document": "<string>",
"email": "<string>",
"phone": "<string>",
"address": {
"street": "<string>",
"number": "<string>",
"complement": "<string>",
"zipCode": "<string>",
"city": "<string>",
"state": "<string>"
}
},
"items": [
{
"title": "<string>",
"quantity": 123,
"unitPrice": 123,
"description": "<string>"
}
]
}
'