curl --location '/api/v1/transactions/orders/customers/create' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"data": {
"name": "Juan Pérez",
"firstName": "Juan",
"middleName": "Carlos",
"lastName": "Pérez",
"secondLastName": "Gómez",
"docType": "CC",
"docNumber": 100200300,
"cellphone": "3001234567",
"email": "juan@example.com",
"address": "Calle 1 # 2-3",
"gender": "M",
"birthCityName": "Bogotá",
"cityId": 1,
"birthDate": "1990-01-01",
"docExpDate": "2030-01-01",
"resourceKey": "res-key-123",
"confirmUrl": "https://merchant.com/confirm"
}
}'{
"statusCode": 200,
"message": "Exitoso",
"data": {
"Resource": {
"key": "305103",
"type": "qr",
"message": 200,
"qr": "data:image/webp;base64,UklGRoxSAQB..."
},
"Costs": [
{
"id": 141,
"min": 0,
"max": 99999999,
"type": "fixed",
"cost": 500,
"costProvider": 250,
"costTypeProvider": "fixed"
}
],
"isManual": 0
},
"_channel": "web"
}