webhook_ipn_paymentintent_failed_sepa.txt 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. {
  2. "id": "evt_123456789",
  3. "object": "event",
  4. "api_version": "2023-10-16",
  5. "created": 1702053463,
  6. "data": {
  7. "object": {
  8. "id": "pi_123456789",
  9. "object": "payment_intent",
  10. "amount": 60,
  11. "amount_capturable": 0,
  12. "amount_details": {
  13. "tip": {
  14. }
  15. },
  16. "amount_received": 0,
  17. "application": null,
  18. "application_fee_amount": null,
  19. "automatic_payment_methods": null,
  20. "canceled_at": null,
  21. "cancellation_reason": null,
  22. "capture_method": "automatic",
  23. "client_secret": "pi_123456789_secret_123456789",
  24. "confirmation_method": "automatic",
  25. "created": 1702053448,
  26. "currency": "eur",
  27. "customer": "cus_123456789",
  28. "description": "Stripe payment from makeStripeSepaRequest: DID=31262-INV=123-CUS=123 did=123 ref=FA2312-123",
  29. "invoice": null,
  30. "last_payment_error": {
  31. "code": "",
  32. "decline_code": "generic_decline",
  33. "message": "The transaction can't be processed because your customer's account information is missing or incorrect. Collect a new mandate and ask your customer to provide their name and address exactly as it appears on their bank account. After this, you can attempt the transaction again.",
  34. "payment_method": {
  35. "id": "pm_123456789",
  36. "object": "payment_method",
  37. "billing_details": {
  38. "address": {
  39. "city": null,
  40. "country": "FR",
  41. "line1": null,
  42. "line2": null,
  43. "postal_code": null,
  44. "state": null
  45. },
  46. "email": "email@example.com",
  47. "name": "Test example",
  48. "phone": null
  49. },
  50. "created": 1692688898,
  51. "customer": "cus_123456789",
  52. "livemode": false,
  53. "metadata": {
  54. "dol_version": "19.0.0-dev",
  55. "dol_thirdparty_id": "123",
  56. "ipaddress": "1.2.3.4",
  57. "dol_id": "123",
  58. "dol_type": "companypaymentmode",
  59. "dol_entity": "1"
  60. },
  61. "sepa_debit": {
  62. "bank_code": "123",
  63. "branch_code": "",
  64. "country": "AT",
  65. "fingerprint": "123456789",
  66. "generated_from": {
  67. "charge": null,
  68. "setup_attempt": null
  69. },
  70. "last4": "3202"
  71. },
  72. "type": "sepa_debit"
  73. },
  74. "type": "card_error"
  75. },
  76. "latest_charge": "py_123456789",
  77. "livemode": false,
  78. "metadata": {
  79. "dol_version": "19.0.0-beta",
  80. "dol_thirdparty_id": "123",
  81. "ipaddress": "1.2.3.4",
  82. "dol_id": "123",
  83. "dol_type": "facture",
  84. "dol_entity": "1"
  85. },
  86. "next_action": null,
  87. "on_behalf_of": null,
  88. "payment_method": null,
  89. "payment_method_configuration_details": null,
  90. "payment_method_options": {
  91. "card": {
  92. "installments": null,
  93. "mandate_options": null,
  94. "network": null,
  95. "request_three_d_secure": "automatic"
  96. },
  97. "sepa_debit": {
  98. }
  99. },
  100. "payment_method_types": [
  101. "card",
  102. "sepa_debit"
  103. ],
  104. "processing": null,
  105. "receipt_email": null,
  106. "review": null,
  107. "setup_future_usage": null,
  108. "shipping": null,
  109. "source": null,
  110. "statement_descriptor": "DID=123-",
  111. "statement_descriptor_suffix": "DID=123-",
  112. "status": "requires_payment_method",
  113. "transfer_data": null,
  114. "transfer_group": null
  115. }
  116. },
  117. "livemode": false,
  118. "pending_webhooks": 1,
  119. "request": {
  120. "id": null,
  121. "idempotency_key": null
  122. },
  123. "type": "payment_intent.payment_failed"
  124. }