Skip to content

Instantly share code, notes, and snippets.

@fishmandev
Created June 9, 2022 02:27
Show Gist options
  • Save fishmandev/1e14a4c02e376757d70585148237ae91 to your computer and use it in GitHub Desktop.
Save fishmandev/1e14a4c02e376757d70585148237ae91 to your computer and use it in GitHub Desktop.
{
"id": "pi_3L8U2sGoWGTstQxK1XCim6gw",
"object": "payment_intent",
"amount": 108675,
"amount_capturable": 0,
"amount_details": {
"tip": {
}
},
"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": [
],
"has_more": false,
"total_count": 0,
"url": "/v1/charges?payment_intent=pi_3L8U2sGoWGTstQxK1XCim6gw"
},
"client_secret": "pi_3L8U2sGoWGTstQxK1XCim6gw_secret_Gx5mB2PTzO8Y2zb9RnD42Tscy",
"confirmation_method": "manual",
"created": 1654714558,
"currency": "usd",
"customer": "cus_Lq7y9PIiuL1l9b",
"description": "Heli Payment",
"invoice": null,
"last_payment_error": null,
"livemode": false,
"metadata": {
"adventure_name": "Ooops",
"operator_name": "CAD-Operator Business Name",
"order_number": "4D824A8A0",
"version": "2"
},
"next_action": {
"type": "use_stripe_sdk",
"use_stripe_sdk": {
"type": "three_d_secure_redirect",
"stripe_js": "https://hooks.stripe.com/redirect/authenticate/src_1L8U2tGoWGTstQxKJ9e6Q3X3?client_secret=src_client_secret_L1ct6Xe3LrDBVIx6dks8hLnS&source_redirect_slug=test_YWNjdF8xS1dJMEZHb1dHVHN0UXhLLF9McUFON1VXV3dYRmhmd0JPNVp4MWQ4ZHRMNWlMbmpi0100xqq5E22X",
"source": "src_1L8U2tGoWGTstQxKJ9e6Q3X3"
}
},
"on_behalf_of": null,
"payment_method": "pm_1L8U2pGoWGTstQxKSuURKrcP",
"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": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_action",
"transfer_data": null,
"transfer_group": null
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment