curl --location '/api/v1/transactions/buy' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"data": {
"paymentMethod": "creditcard",
"amount": "69000",
"People": {
"personName": "Juan",
"personLastName": "Pérez",
"personDocType": "CC",
"personDocNumber": "123456789",
"email": "juan@example.com",
"cellphone": "3001234567",
"address": "Calle 123 #45-67",
"typePerson": "natural"
},
"card": {
"name": "JUAN PEREZ",
"number": "4111111111111111",
"expirationDate": "12/28",
"securityCode": "123",
"franchise": "VISA"
},
"cellphone": "3133723989",
"confirmUrl": "https://tu_webhook.php"
}
}'