| Característica | Detalle |
|---|---|
| Método | POST |
| ¿Requiere datos de tarjeta? | ✅ Sí |
| ¿Mueve dinero? | ❌ No, solo retiene |
| Vigencia | 7-30 días (según banco emisor) |
⚠️ Importante: El campo transactionides necesario para realizar operaciones posteriores de Capture o Void. Almacénelo de forma segura en su base de datos.
curl --location --request POST 'https://sandbox.mypaygateway.io/api/payments/authorize' \
--header 'x-api-key;' \
--header 'Content-Type: application/json' \
--data-raw '{
"ccnumber": "41111111111111",
"ccexp": "2129",
"cvv": "900",
"amount": 1.00,
"currency": "USD",
"orderid": "PROD-TEST",
"first_name": "Juan",
"last_name": "Perez",
"email": "juanperz@test.com"
}'{
"response": "string",
"responsetext": "string",
"authcode": "string",
"transactionid": "string",
"avsresponse": "string",
"cvvresponse": "string",
"orderid": "string",
"response_code": "string",
"emv_auth_response_data": "string",
"customer_vault_id": "string",
"kount_score": "string",
"merchant_advice_code": "string"
}