curl --request POST \
--url https://api.example.com/payin \
--header 'Content-Type: application/json' \
--data '
{
"paymentMethod": "<string>",
"amount": 123,
"referenceId": "<string>",
"webhookUrl": "<string>",
"customer": {
"name": "<string>",
"email": "<string>",
"document": "<string>",
"phone": "<string>",
"address": {
"street": "<string>",
"number": "<string>",
"neighborhood": "<string>",
"city": "<string>",
"state": "<string>",
"zipCode": "<string>"
}
},
"items": [
{
"title": "<string>",
"quantity": 123,
"unitPrice": 123,
"tangible": true
}
]
}
'