Last active
April 18, 2019 10:58
-
-
Save jumasheff/cfd94379e113abbd2989dd1f2e2a5d05 to your computer and use it in GitHub Desktop.
payment_intent.json -- payload
This file contains hidden or 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
| { | |
| "created": 1326853478, | |
| "livemode": false, | |
| "id": "evt_00000000000000", | |
| "type": "payment_intent.payment_failed", | |
| "object": "event", | |
| "request": null, | |
| "pending_webhooks": 1, | |
| "api_version": "2017-04-06", | |
| "data": { | |
| "object": { | |
| "id": "pi_00000000000000", | |
| "object": "payment_intent", | |
| "allowed_source_types": [ | |
| "card" | |
| ], | |
| "amount": 1099, | |
| "amount_capturable": 0, | |
| "amount_received": 0, | |
| "application": null, | |
| "application_fee_amount": null, | |
| "canceled_at": null, | |
| "cancellation_reason": null, | |
| "capture_method": "automatic", | |
| "charges": { | |
| "object": "list", | |
| "gR": [ | |
| ], | |
| "has_more": false, | |
| "total_count": 0, | |
| "url": "/v1/charges?payment_intent=pi_1EPkGvHSXXGBOz0ElTtiECvA" | |
| }, | |
| "client_secret": "pi_1EPkGvHSXXGBOz0ElTtiECvA_secret_Iibo6quxDexH3kicI9uZKWWAe", | |
| "confirmation_method": "automatic", | |
| "created": 1555394157, | |
| "currency": "usd", | |
| "customer": null, | |
| "description": null, | |
| "invoice": null, | |
| "last_payment_error": { | |
| "code": "payment_intent_payment_attempt_failed", | |
| "doc_url": "https://stripe.com/docs/error-codes/payment-intent-payment-attempt-failed", | |
| "message": "The payment failed.", | |
| "type": "invalid_request_error" | |
| }, | |
| "livemode": false, | |
| "metadata": { | |
| }, | |
| "next_action": null, | |
| "next_source_action": null, | |
| "on_behalf_of": null, | |
| "payment_method": null, | |
| "payment_method_types": [ | |
| "card" | |
| ], | |
| "receipt_email": null, | |
| "review": null, | |
| "shipping": null, | |
| "source": null, | |
| "statement_descriptor": null, | |
| "status": "requires_payment_method", | |
| "transfer_data": null, | |
| "transfer_group": null | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment