Created
April 10, 2022 00:02
-
-
Save pedro-vasconcelos/ffcb2347f552648e17ef3dc50ad77a3a to your computer and use it in GitHub Desktop.
stripe_event: payment_intent.payment_failed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "evt_3KmoAvLueXt1u2td0sPVmWWM", | |
"object": "event", | |
"api_version": "2020-08-27", | |
"created": 1649548722, | |
"data": { | |
"object": { | |
"id": "pi_3KmoAvLueXt1u2td0TkYIlFO", | |
"object": "payment_intent", | |
"amount": 80, | |
"amount_capturable": 0, | |
"amount_received": 0, | |
"application": null, | |
"application_fee_amount": null, | |
"automatic_payment_methods": null, | |
"canceled_at": null, | |
"cancellation_reason": null, | |
"capture_method": "automatic", | |
"charges": { | |
"object": "list", | |
"data": [ | |
{ | |
"id": "ch_3KmoAvLueXt1u2td0l9ZQUYT", | |
"object": "charge", | |
"amount": 80, | |
"amount_captured": 0, | |
"amount_refunded": 0, | |
"application": null, | |
"application_fee": null, | |
"application_fee_amount": null, | |
"balance_transaction": null, | |
"billing_details": { | |
"address": { | |
"city": null, | |
"country": "BG", | |
"line1": null, | |
"line2": null, | |
"postal_code": null, | |
"state": null | |
}, | |
"email": null, | |
"name": null, | |
"phone": null | |
}, | |
"calculated_statement_descriptor": "HOTSPOTTY.NET", | |
"captured": false, | |
"created": 1649548722, | |
"currency": "usd", | |
"customer": "cus_LTkd0SWPVpHLem", | |
"description": "Subscription update", | |
"destination": null, | |
"dispute": null, | |
"disputed": false, | |
"failure_balance_transaction": null, | |
"failure_code": "card_declined", | |
"failure_message": "Your card was declined.", | |
"fraud_details": [], | |
"invoice": "in_1KmoAvLueXt1u2tdX358HZ8e", | |
"livemode": false, | |
"metadata": [], | |
"on_behalf_of": null, | |
"order": null, | |
"outcome": { | |
"network_status": "declined_by_network", | |
"reason": "generic_decline", | |
"risk_level": "normal", | |
"risk_score": 17, | |
"seller_message": "The bank did not return any further details with this decline.", | |
"type": "issuer_declined" | |
}, | |
"paid": false, | |
"payment_intent": "pi_3KmoAvLueXt1u2td0TkYIlFO", | |
"payment_method": "card_1KmoAPLueXt1u2td8VLF89Ku", | |
"payment_method_details": { | |
"card": { | |
"brand": "visa", | |
"checks": { | |
"address_line1_check": null, | |
"address_postal_code_check": null, | |
"cvc_check": "pass" | |
}, | |
"country": "US", | |
"exp_month": 12, | |
"exp_year": 2026, | |
"fingerprint": "cP97PGRke7AkQ4fl", | |
"funding": "credit", | |
"installments": null, | |
"last4": "0341", | |
"mandate": null, | |
"network": "visa", | |
"three_d_secure": null, | |
"wallet": null | |
}, | |
"type": "card" | |
}, | |
"receipt_email": null, | |
"receipt_number": null, | |
"receipt_url": null, | |
"refunded": false, | |
"refunds": { | |
"object": "list", | |
"data": [], | |
"has_more": false, | |
"total_count": 0, | |
"url": "/v1/charges/ch_3KmoAvLueXt1u2td0l9ZQUYT/refunds" | |
}, | |
"review": null, | |
"shipping": null, | |
"source": { | |
"id": "card_1KmoAPLueXt1u2td8VLF89Ku", | |
"object": "card", | |
"address_city": null, | |
"address_country": "BG", | |
"address_line1": null, | |
"address_line1_check": null, | |
"address_line2": null, | |
"address_state": null, | |
"address_zip": null, | |
"address_zip_check": null, | |
"brand": "Visa", | |
"country": "US", | |
"customer": "cus_LTkd0SWPVpHLem", | |
"cvc_check": "pass", | |
"dynamic_last4": null, | |
"exp_month": 12, | |
"exp_year": 2026, | |
"fingerprint": "cP97PGRke7AkQ4fl", | |
"funding": "credit", | |
"last4": "0341", | |
"metadata": [], | |
"name": null, | |
"tokenization_method": null | |
}, | |
"source_transfer": null, | |
"statement_descriptor": null, | |
"statement_descriptor_suffix": null, | |
"status": "failed", | |
"transfer_data": null, | |
"transfer_group": null | |
} | |
], | |
"has_more": false, | |
"total_count": 1, | |
"url": "/v1/charges?payment_intent=pi_3KmoAvLueXt1u2td0TkYIlFO" | |
}, | |
"client_secret": "pi_3KmoAvLueXt1u2td0TkYIlFO_secret_jCK52KUanEB9caeVzoqUdSCUf", | |
"confirmation_method": "automatic", | |
"created": 1649548721, | |
"currency": "usd", | |
"customer": "cus_LTkd0SWPVpHLem", | |
"description": "Subscription update", | |
"invoice": "in_1KmoAvLueXt1u2tdX358HZ8e", | |
"last_payment_error": { | |
"charge": "ch_3KmoAvLueXt1u2td0l9ZQUYT", | |
"code": "card_declined", | |
"decline_code": "generic_decline", | |
"doc_url": "https://stripe.com/docs/error-codes/card-declined", | |
"message": "Your card was declined.", | |
"source": { | |
"id": "card_1KmoAPLueXt1u2td8VLF89Ku", | |
"object": "card", | |
"address_city": null, | |
"address_country": "BG", | |
"address_line1": null, | |
"address_line1_check": null, | |
"address_line2": null, | |
"address_state": null, | |
"address_zip": null, | |
"address_zip_check": null, | |
"brand": "Visa", | |
"country": "US", | |
"customer": "cus_LTkd0SWPVpHLem", | |
"cvc_check": "pass", | |
"dynamic_last4": null, | |
"exp_month": 12, | |
"exp_year": 2026, | |
"fingerprint": "cP97PGRke7AkQ4fl", | |
"funding": "credit", | |
"last4": "0341", | |
"metadata": [], | |
"name": null, | |
"tokenization_method": null | |
}, | |
"type": "card_error" | |
}, | |
"livemode": false, | |
"metadata": [], | |
"next_action": null, | |
"on_behalf_of": null, | |
"payment_method": null, | |
"payment_method_options": { | |
"card": { | |
"installments": null, | |
"mandate_options": null, | |
"network": null, | |
"request_three_d_secure": "automatic" | |
} | |
}, | |
"payment_method_types": [ | |
"card" | |
], | |
"processing": null, | |
"receipt_email": null, | |
"review": null, | |
"setup_future_usage": "off_session", | |
"shipping": null, | |
"source": null, | |
"statement_descriptor": null, | |
"statement_descriptor_suffix": null, | |
"status": "requires_payment_method", | |
"transfer_data": null, | |
"transfer_group": null | |
} | |
}, | |
"livemode": false, | |
"pending_webhooks": 2, | |
"request": { | |
"id": "req_ipM28hy5S4jrVz", | |
"idempotency_key": "fdd627d7-e0b2-488f-89a0-086ec47fc7d0" | |
}, | |
"type": "payment_intent.payment_failed" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment