Este objeto esta obsoleto. Se ruega no usar en nuevas integraciones.
payment_intent.succeeded
payment_intent.succeeded
Intento de pago exitoso de un Invoice.
{
"id": "whe_hXPK3YBs4EUfw2KFZlB6R44MiFa07vFU",
"event_type": "payment_intent.succeeded",
"payment_intent": {
"id": "pi_dsQ5-sNZPwxBYf6hnLsstaqG9JAZK432",
"invoice": "in_1YPKc-NZPwxBYf6hnLsstaqG9JAZKxX9",
"customer": "cus_l8ojrji3k8SC7iLbVBxxgwVeOLRRbkEc",
"id_account": "acc_l8ojrji3k8SC7iLbVBxxgwVeOLRRbkEc",
"gateway": "toku_pac",
"amount": "1000",
"payment_method": "pm_1YPKc-NZPwxBYf6hnLsstaqG9JAZKxX9",
"transaction_date": "2021-04-22T14:03:39.410000",
"card_detail": "1234",
"buy_order": "bo-2-609bf894",
"child_buy_order": "cbo-2-609bf894",
"authorization_code": "1213",
"payment_type_code": "VN",
"toku_response_code": "SU0000",
"installments_number": 0,
"mc_order_id": "1234567",
"response_code": 0,
"status": "AUTHORIZED",
"id_account": "acc_2YPKc-NZPwxBYf6hnLsstaqG9JAZKxX4"
}
}
Ejemplos específicos
payment_intent.succeeded
Transferencia
payment_intent.succeeded
Transferencia{
"id": "eve_zwr5c8Ddcu0sW2zl57aTTeTFmovcysl-",
"event_type": "payment_intent.succeeded",
"payment_intent": {
"id": "pi_cGuAf-JSoTrg7QhQlabJTsuhQaGborN4",
"invoice": "in_poaFZEY8fgpxXhwhOYj4KBk1tjLQA-wa",
"customer": "cus_HpnoeQFzNB-pOiAobqFrccfk7Kpwin_b",
"id_account": "acc_l8ojrji3k8SC7iLbVBxxgwVeOLRRbkEc",
"gateway": "khipu_transfer",
"amount": "10000.0000",
"status": "AUTHORIZED",
"payment_method": "pm_AM4LvUGcqfxzgiUgxMocVuR-MD3xjb4N",
"transaction_date": "2022-04-07 21:39:28.344703",
"card_detail": null,
"buy_order": "156967510939",
"child_buy_order": null,
"authorization_code": null,
"payment_type_code": null,
"response_code": null,
"toku_response_code": null,
"installments_number": null,
"mc_order_id": null,
"id_account": "acc_2YPKc-NZPwxBYf6hnLsstaqG9JAZKxX4"
}
}
payment_intent.succeeded
Cards PSP
payment_intent.succeeded
Cards PSP{
"id": "wheve_EmGFwPP-hdS_2gRzt-NLlfimMEFLFvcp",
"event_type": "payment_intent.succeeded",
"payment_intent": {
"id": "pi_db3_j8jlempd9Of2JVc65Vupqt_KurLb",
"invoice": "in_ilEtjHa-IpBP1HsAPEDcgVmHGAgizFnC",
"customer": "cus_8CHZ-w3GdJ_1AtDxhMzT_MgT_cxYBwQb",
"gateway": "internal_psp",
"amount": "1500.0000",
"status": "AUTHORIZED",
"payment_method": "pm_OjTv9N9lYsHlm_qOjS9ZX_iMEFpcejzv",
"transaction_date": "2023-06-29 15:37:51.769414",
"card_detail": null,
"buy_order": null,
"child_buy_order": null,
"authorization_code": null,
"payment_type_code": null,
"response_code": null,
"toku_response_code": "SUPSP0000",
"installments_number": null,
"mc_order_id": null,
"id_account": "acc_5pe6OvW_pWp8qEB16cMs96J-lS95E1sC"
}
}
payment_intent.payment_failed
payment_intent.payment_failed
Intento de pago fallido de un Invoice.
{
"id": "whe_hXPK3YBs4EUfw2KFZlB6R44MiFa07vFU",
"event_type": "payment_intent.payment_failed",
"payment_intent": {
"id": "pi_dsQ5-sNZPwxBYf6hnLsstaqG9JAZK432",
"invoice": "in_1YPKc-NZPwxBYf6hnLsstaqG9JAZKxX9",
"customer": "cus_l8ojrji3k8SC7iLbVBxxgwVeOLRRbkEc",
"gateway": "toku_pac",
"amount": 1000,
"status": "FAILED",
"payment_method": "pm_1YPKc-NZPwxBYf6hnLsstaqG9JAZKxX9",
"transaction_date": "2021-04-22T14:03:39.410000",
"card_detail": "1234",
"buy_order": "bo-2-609bf894",
"child_buy_order": "cbo-2-609bf894",
"authorization_code": "1213",
"payment_type_code": "VN",
"toku_response_code": "SU0000",
"installments_number": 0,
"mc_order_id": "1234567",
"response_code": -4,
"id_account": "acc_5pe6OvW_pWp8qEB16cMs96J-lS95E1sC"
}
}
payment_intent.succeeded_batch
payment_intent.succeeded_batch
Resumen de pagos exitosos para una lista de Invoices. Se utiliza en procesos de cobro automático masivos.
{
"id": "whe_hXPK3YBs4EUfw2KFZlB6R44MiFa07vFU",
"event_type": "payment_intent.succeeded_batch",
"payment_intent": {
"payment_intents": [
{
"id": "pi_dsQ5-sNZPwxBYf6hnLsstaqG9JAZK432",
"invoice": "in_1YPKc-NZPwxBYf6hnLsstaqG9JAZKxX9",
"customer": "cus_l8ojrji3k8SC7iLbVBxxgwVeOLRRbkEc",
"gateway": "klap_oneclick",
"amount": 1000,
"status": "AUTHORIZED",
"payment_method": "pm_1YPKc-NZPwxBYf6hnLsstaqG9JAZKxX9",
"transaction_date": "2021-04-22T14:03:39.410000",
"toku_response_code": "SU0000"
}
],
"id_account": "acc_5pe6OvW_pWp8qEB16cMs96J-lS95E1sC"
}
}
payment_intent.payment_failed_batch
payment_intent.payment_failed_batch
Resumen de intentos de pagos fallidos para una lista de Invoices. Se utiliza en procesos de cobro automático masivos.
{
"id": "whe_hXPK3YBs4EUfw2KFZlB6R44MiFa07vFU",
"event_type": "payment_intent.payment_failed_batch",
"payment_intent": {
"payment_intents": [
{
"id": "pi_dsQ5-sNZPwxBYf6hnLsstaqG9JAZK432",
"invoice": "in_1YPKc-NZPwxBYf6hnLsstaqG9JAZKxX9",
"customer": "cus_l8ojrji3k8SC7iLbVBxxgwVeOLRRbkEc",
"gateway": "klap_oneclick",
"amount": 1000,
"status": "FAILED",
"payment_method": "pm_1YPKc-NZPwxBYf6hnLsstaqG9JAZKxX9",
"transaction_date": "2021-04-22T14:03:39.410000",
"toku_response_code": "SU0000"
}
],
"id_account": "acc_5pe6OvW_pWp8qEB16cMs96J-lS95E1sC"
}
}
payment_intent.payment_pending_batch
payment_intent.payment_pending_batch
Resumen de intentos de pagos que se encuentran pendientes para una lista de Invoices. Se utiliza en procesos de cobro automático masivos.
{
"id": "whe_hXPK3YBs4EUfw2KFZlB6R44MiFa07vFU",
"event_type": "payment_intent.payment_pending_batch",
"payment_intent": {
"payment_intents": [
{
"id": "pi_dsQ5-sNZPwxBYf6hnLsstaqG9JAZK432",
"invoice": "in_1YPKc-NZPwxBYf6hnLsstaqG9JAZKxX9",
"customer": "cus_l8ojrji3k8SC7iLbVBxxgwVeOLRRbkEc",
"gateway": "klap_oneclick",
"amount": 1000,
"status": "PAC_PENDING",
"payment_method": "pm_1YPKc-NZPwxBYf6hnLsstaqG9JAZKxX9",
"transaction_date": "2021-04-22T14:03:39.410000",
"toku_response_code": "SU0000"
}
],
"id_account": "acc_5pe6OvW_pWp8qEB16cMs96J-lS95E1sC"
}
}