Detalle del cobro
Obtiene un payment intent por id. Incluye datos para pagar, fee_preview y, si ya fue pagado, paid_with + settlement.
GEThttps://api.kuti.pe/v1/payment-intents/{id}
client_secret permite operar el cobro desde el frontend (Checkout.js) sin exponer tu secret key. Si status=SUCCEEDED, usa paid_with (no payment_method) para mostrar cómo se pagó.
Path
idstringrequerido
Id del cobro en el path (pi_…).Ej:
pi_01J8Z3K4M5N6P7Q8R9S0T1U2V3Language
Credentials
Header
Authorization
Secret key de developer · ejemplos con librerías estándar (aún sin SDK)
cURL Request
curl -s 'https://api.kuti.pe/v1/payment-intents/pi_01J8Z3K4M5N6P7Q8R9S0T1U2V3' \
-H 'Authorization: Bearer kuti_live_…'Librería estándar · sin SDK propio
Response
Elige un ejemplo de respuesta:
application/json
200OK
{
"success": true,
"data": {
"id": "pi_01J8Z3K4M5N6P7Q8R9S0T1U2V3",
"merchant_id": "mer_01J8Z3K4M5N6P7Q8R9S0T1U2V3",
"livemode": true,
"customer": {
"id": "cus_01J8Z3K4M5N6P7Q8R9S0T1U2V3",
"type": "INDIVIDUAL",
"first_name": "María",
"last_name": "López",
"name": "María López",
"document_type": "DNI",
"document_value": "45678912",
"email": "maria@example.com"
},
"category_id": null,
"amount": {
"amount": "50.00",
"currency": "PEN"
},
"status": "SUCCEEDED",
"payment_method_types": [
"INTEROPERABLE_QR",
"BANK_TRANSFER"
],
"paid_with": {
"method_type": "INTEROPERABLE_QR",
"paid_at": "2026-09-04T10:55:12.000Z"
},
"payment_id": "pay_01J8Z3K4M5N6P7Q8R9S0T1U2V3",
"checkout_url": "https://pay.kuti.pe/c/A3F9K2P7QM",
"client_secret": "pi_01J8…_secret_ab12cd34ef56gh78ij90kl12",
"description": "Pedido #1042",
"external_reference": "order-1042",
"requires_customer_info": false,
"fee_preview": {
"gross": {
"amount": "50.00",
"currency": "PEN"
},
"fee": {
"amount": "-1.77",
"currency": "PEN"
},
"fee_tax": {
"amount": "-0.27",
"currency": "PEN"
},
"net": {
"amount": "48.23",
"currency": "PEN"
},
"available_in_days": 2
},
"settlement": {
"balance_transaction_id": "btxn_01J8Z3K4M5N6P7Q8R9S0T1U2V3",
"status": "AVAILABLE",
"gross": {
"amount": "50.00",
"currency": "PEN"
},
"fee": {
"amount": "-1.77",
"currency": "PEN"
},
"fee_tax": {
"amount": "-0.27",
"currency": "PEN"
},
"net": {
"amount": "48.23",
"currency": "PEN"
},
"available_on": "2026-09-06T00:00:00Z",
"available_confirmed": true,
"payout_id": "pyt_01J8Z3K4M5N6P7Q8R9S0T1U2V3"
},
"created_at": "2026-09-04T10:48:59.556906Z"
}
}