{
  "_message": "Your card was declined.",
  "code": "card_declined",
  "error": {
    "charge": "ch_NORMALIZED00000000000002",
    "code": "card_declined",
    "decline_code": "generic_decline",
    "doc_url": "https://stripe.com/docs/error-codes/card-declined",
    "message": "Your card was declined.",
    "param": null,
    "payment_intent": {
      "amount": 5000,
      "amount_capturable": 0,
      "amount_received": 0,
      "application": null,
      "application_fee_amount": null,
      "canceled_at": null,
      "cancellation_reason": null,
      "capture_method": "automatic",
      "charges": {
        "data": [
          {
            "amount": 5000,
            "amount_captured": 0,
            "amount_refunded": 0,
            "application": null,
            "application_fee": null,
            "application_fee_amount": null,
            "balance_transaction": null,
            "billing_details": {
              "address": {
                "city": null,
                "country": null,
                "line1": null,
                "line2": null,
                "postal_code": null,
                "state": null
              },
              "email": null,
              "name": null,
              "phone": null
            },
            "calculated_statement_descriptor": "Stripe",
            "captured": false,
            "created": 1000000000,
            "currency": "usd",
            "customer": "cus_NORMALIZED0001",
            "description": "Payment for Invoice",
            "destination": null,
            "dispute": null,
            "disputed": false,
            "failure_code": "card_declined",
            "failure_message": "Your card was declined.",
            "fraud_details": {},
            "id": "ch_NORMALIZED00000000000002",
            "invoice": "in_NORMALIZED00000000000003",
            "livemode": false,
            "metadata": {},
            "object": "charge",
            "on_behalf_of": null,
            "order": null,
            "outcome": {
              "network_status": "declined_by_network",
              "reason": "generic_decline",
              "risk_level": "normal",
              "risk_score": 0,
              "seller_message": "The bank did not return any further details with this decline.",
              "type": "issuer_declined"
            },
            "paid": false,
            "payment_intent": "pi_NORMALIZED00000000000003",
            "payment_method": "pm_1JItSyA4KHR4JzRv1Y1r16Ay",
            "payment_method_details": {
              "card": {
                "brand": "visa",
                "checks": {
                  "address_line1_check": null,
                  "address_postal_code_check": null,
                  "cvc_check": "pass"
                },
                "country": "US",
                "exp_month": 3,
                "exp_year": 2033,
                "fingerprint": "NORMALIZED000001",
                "funding": "credit",
                "installments": null,
                "last4": "0341",
                "network": "visa",
                "three_d_secure": null,
                "wallet": null
              },
              "type": "card"
            },
            "receipt_email": null,
            "receipt_number": null,
            "receipt_url": null,
            "refunded": false,
            "refunds": {},
            "review": null,
            "shipping": null,
            "source": null,
            "source_transfer": null,
            "statement_descriptor": null,
            "statement_descriptor_suffix": null,
            "status": "failed",
            "transfer_data": null,
            "transfer_group": null
          }
        ],
        "has_more": false,
        "object": "list",
        "total_count": 1,
        "url": "/v1/charges?payment_intent=pi_NORMALIZED00000000000003"
      },
      "client_secret": "pi_NORMALIZED00000000000003_secret_kRNeiOWgFBpDweYKcmccTn53m",
      "confirmation_method": "automatic",
      "created": 1000000000,
      "currency": "usd",
      "customer": "cus_NORMALIZED0001",
      "description": "Payment for Invoice",
      "id": "pi_NORMALIZED00000000000003",
      "invoice": "in_NORMALIZED00000000000003",
      "last_payment_error": {
        "charge": "ch_NORMALIZED00000000000002",
        "code": "card_declined",
        "decline_code": "generic_decline",
        "doc_url": "https://stripe.com/docs/error-codes/card-declined",
        "message": "Your card was declined.",
        "payment_method": {
          "billing_details": {
            "address": {
              "city": null,
              "country": null,
              "line1": null,
              "line2": null,
              "postal_code": null,
              "state": null
            },
            "email": null,
            "name": null,
            "phone": null
          },
          "card": {
            "brand": "visa",
            "checks": {
              "address_line1_check": null,
              "address_postal_code_check": null,
              "cvc_check": "pass"
            },
            "country": "US",
            "exp_month": 3,
            "exp_year": 2033,
            "fingerprint": "NORMALIZED000001",
            "funding": "credit",
            "generated_from": null,
            "last4": "0341",
            "networks": {
              "available": [
                "visa"
              ],
              "preferred": null
            },
            "three_d_secure_usage": {
              "supported": true
            },
            "wallet": null
          },
          "created": 1000000000,
          "customer": "cus_NORMALIZED0001",
          "id": "pm_1JItSyA4KHR4JzRv1Y1r16Ay",
          "livemode": false,
          "metadata": {},
          "object": "payment_method",
          "type": "card"
        },
        "type": "card_error"
      },
      "livemode": false,
      "metadata": {},
      "next_action": null,
      "object": "payment_intent",
      "on_behalf_of": null,
      "payment_method": null,
      "payment_method_options": {
        "card": {
          "installments": null,
          "network": null,
          "request_three_d_secure": "automatic"
        }
      },
      "payment_method_types": [
        "card"
      ],
      "receipt_email": null,
      "review": null,
      "setup_future_usage": null,
      "shipping": null,
      "source": null,
      "statement_descriptor": null,
      "statement_descriptor_suffix": null,
      "status": "requires_payment_method",
      "transfer_data": null,
      "transfer_group": null
    },
    "payment_method": {
      "billing_details": {
        "address": {
          "city": null,
          "country": null,
          "line1": null,
          "line2": null,
          "postal_code": null,
          "state": null
        },
        "email": null,
        "name": null,
        "phone": null
      },
      "card": {
        "brand": "visa",
        "checks": {
          "address_line1_check": null,
          "address_postal_code_check": null,
          "cvc_check": "pass"
        },
        "country": "US",
        "exp_month": 3,
        "exp_year": 2033,
        "fingerprint": "NORMALIZED000001",
        "funding": "credit",
        "generated_from": null,
        "last4": "0341",
        "networks": {
          "available": [
            "visa"
          ],
          "preferred": null
        },
        "three_d_secure_usage": {
          "supported": true
        },
        "wallet": null
      },
      "created": 1000000000,
      "customer": "cus_NORMALIZED0001",
      "id": "pm_1JItSyA4KHR4JzRv1Y1r16Ay",
      "livemode": false,
      "metadata": {},
      "object": "payment_method",
      "type": "card"
    },
    "setup_intent": null,
    "source": null,
    "type": "card_error"
  },
  "headers": {
    "Connection": "keep-alive",
    "Content-Length": "7950",
    "Content-Type": "application/json",
    "Date": "NORMALIZED DATETIME",
    "Server": "nginx",
    "Strict-Transport-Security": "max-age=31556926; includeSubDomains; preload",
    "access-control-allow-credentials": "true",
    "access-control-allow-methods": "GET, POST, HEAD, OPTIONS, DELETE",
    "access-control-allow-origin": "*",
    "access-control-expose-headers": "Request-Id, Stripe-Manage-Version, X-Stripe-External-Auth-Required, X-Stripe-Privileged-Session-Required",
    "access-control-max-age": "300",
    "cache-control": "no-cache, no-store",
    "idempotency-key": "00000000-0000-0000-0000-000000000000",
    "original-request": "req_NORMALIZED0012",
    "request-id": "req_NORMALIZED0012",
    "stripe-should-retry": "false",
    "stripe-version": "2020-08-27",
    "x-stripe-c-cost": "6"
  },
  "http_body": "{\n  \"error\": {\n    \"charge\": \"ch_NORMALIZED00000000000002\",\n    \"code\": \"card_declined\",\n    \"decline_code\": \"generic_decline\",\n    \"doc_url\": \"https://stripe.com/docs/error-codes/card-declined\",\n    \"message\": \"Your card was declined.\",\n    \"payment_intent\": {\n      \"id\": \"pi_NORMALIZED00000000000003\",\n      \"object\": \"payment_intent\",\n      \"amount\": 5000,\n      \"amount_capturable\": 0,\n      \"amount_received\": 0,\n      \"application\": null,\n      \"application_fee_amount\": null,\n      \"canceled_at\": null,\n      \"cancellation_reason\": null,\n      \"capture_method\": \"automatic\",\n      \"charges\": {\n        \"object\": \"list\",\n        \"data\": [\n          {\n            \"id\": \"ch_NORMALIZED00000000000002\",\n            \"object\": \"charge\",\n            \"amount\": 5000,\n            \"amount_captured\": 0,\n            \"amount_refunded\": 0,\n            \"application\": null,\n            \"application_fee\": null,\n            \"application_fee_amount\": null,\n            \"balance_transaction\": null,\n            \"billing_details\": {\n              \"address\": {\n                \"city\": null,\n                \"country\": null,\n                \"line1\": null,\n                \"line2\": null,\n                \"postal_code\": null,\n                \"state\": null\n              },\n              \"email\": null,\n              \"name\": null,\n              \"phone\": null\n            },\n            \"calculated_statement_descriptor\": \"Stripe\",\n            \"captured\": false,\n            \"created\": 1000000000,\n            \"currency\": \"usd\",\n            \"customer\": \"cus_NORMALIZED0001\",\n            \"description\": \"Payment for Invoice\",\n            \"destination\": null,\n            \"dispute\": null,\n            \"disputed\": false,\n            \"failure_code\": \"card_declined\",\n            \"failure_message\": \"Your card was declined.\",\n            \"fraud_details\": {\n            },\n            \"invoice\": \"in_NORMALIZED00000000000003\",\n            \"livemode\": false,\n            \"metadata\": {\n            },\n            \"on_behalf_of\": null,\n            \"order\": null,\n            \"outcome\": {\n              \"network_status\": \"declined_by_network\",\n              \"reason\": \"generic_decline\",\n              \"risk_level\": \"normal\",\n              \"risk_score\": 14,\n              \"seller_message\": \"The bank did not return any further details with this decline.\",\n              \"type\": \"issuer_declined\"\n            },\n            \"paid\": false,\n            \"payment_intent\": \"pi_NORMALIZED00000000000003\",\n            \"payment_method\": \"pm_1JItSyA4KHR4JzRv1Y1r16Ay\",\n            \"payment_method_details\": {\n              \"card\": {\n                \"brand\": \"visa\",\n                \"checks\": {\n                  \"address_line1_check\": null,\n                  \"address_postal_code_check\": null,\n                  \"cvc_check\": \"pass\"\n                },\n                \"country\": \"US\",\n                \"exp_month\": 3,\n                \"exp_year\": 2033,\n                \"fingerprint\": \"NORMALIZED000001\",\n                \"funding\": \"credit\",\n                \"installments\": null,\n                \"last4\": \"0341\",\n                \"network\": \"visa\",\n                \"three_d_secure\": null,\n                \"wallet\": null\n              },\n              \"type\": \"card\"\n            },\n            \"receipt_email\": null,\n            \"receipt_number\": null,\n            \"receipt_url\": null,\n            \"refunded\": false,\n            \"refunds\": {\n              \"object\": \"list\",\n              \"data\": [\n\n              ],\n              \"has_more\": false,\n              \"total_count\": 0,\n              \"url\": \"/v1/charges/ch_NORMALIZED00000000000002/refunds\"\n            },\n            \"review\": null,\n            \"shipping\": null,\n            \"source\": null,\n            \"source_transfer\": null,\n            \"statement_descriptor\": null,\n            \"statement_descriptor_suffix\": null,\n            \"status\": \"failed\",\n            \"transfer_data\": null,\n            \"transfer_group\": null\n          }\n        ],\n        \"has_more\": false,\n        \"total_count\": 1,\n        \"url\": \"/v1/charges?payment_intent=pi_NORMALIZED00000000000003\"\n      },\n      \"client_secret\": \"pi_NORMALIZED00000000000003_secret_kRNeiOWgFBpDweYKcmccTn53m\",\n      \"confirmation_method\": \"automatic\",\n      \"created\": 1000000000,\n      \"currency\": \"usd\",\n      \"customer\": \"cus_NORMALIZED0001\",\n      \"description\": \"Payment for Invoice\",\n      \"invoice\": \"in_NORMALIZED00000000000003\",\n      \"last_payment_error\": {\n        \"charge\": \"ch_NORMALIZED00000000000002\",\n        \"code\": \"card_declined\",\n        \"decline_code\": \"generic_decline\",\n        \"doc_url\": \"https://stripe.com/docs/error-codes/card-declined\",\n        \"message\": \"Your card was declined.\",\n        \"payment_method\": {\n          \"id\": \"pm_1JItSyA4KHR4JzRv1Y1r16Ay\",\n          \"object\": \"payment_method\",\n          \"billing_details\": {\n            \"address\": {\n              \"city\": null,\n              \"country\": null,\n              \"line1\": null,\n              \"line2\": null,\n              \"postal_code\": null,\n              \"state\": null\n            },\n            \"email\": null,\n            \"name\": null,\n            \"phone\": null\n          },\n          \"card\": {\n            \"brand\": \"visa\",\n            \"checks\": {\n              \"address_line1_check\": null,\n              \"address_postal_code_check\": null,\n              \"cvc_check\": \"pass\"\n            },\n            \"country\": \"US\",\n            \"exp_month\": 3,\n            \"exp_year\": 2033,\n            \"fingerprint\": \"NORMALIZED000001\",\n            \"funding\": \"credit\",\n            \"generated_from\": null,\n            \"last4\": \"0341\",\n            \"networks\": {\n              \"available\": [\n                \"visa\"\n              ],\n              \"preferred\": null\n            },\n            \"three_d_secure_usage\": {\n              \"supported\": true\n            },\n            \"wallet\": null\n          },\n          \"created\": 1000000000,\n          \"customer\": \"cus_NORMALIZED0001\",\n          \"livemode\": false,\n          \"metadata\": {\n          },\n          \"type\": \"card\"\n        },\n        \"type\": \"card_error\"\n      },\n      \"livemode\": false,\n      \"metadata\": {\n      },\n      \"next_action\": null,\n      \"on_behalf_of\": null,\n      \"payment_method\": null,\n      \"payment_method_options\": {\n        \"card\": {\n          \"installments\": null,\n          \"network\": null,\n          \"request_three_d_secure\": \"automatic\"\n        }\n      },\n      \"payment_method_types\": [\n        \"card\"\n      ],\n      \"receipt_email\": null,\n      \"review\": null,\n      \"setup_future_usage\": null,\n      \"shipping\": null,\n      \"source\": null,\n      \"statement_descriptor\": null,\n      \"statement_descriptor_suffix\": null,\n      \"status\": \"requires_payment_method\",\n      \"transfer_data\": null,\n      \"transfer_group\": null\n    },\n    \"payment_method\": {\n      \"id\": \"pm_1JItSyA4KHR4JzRv1Y1r16Ay\",\n      \"object\": \"payment_method\",\n      \"billing_details\": {\n        \"address\": {\n          \"city\": null,\n          \"country\": null,\n          \"line1\": null,\n          \"line2\": null,\n          \"postal_code\": null,\n          \"state\": null\n        },\n        \"email\": null,\n        \"name\": null,\n        \"phone\": null\n      },\n      \"card\": {\n        \"brand\": \"visa\",\n        \"checks\": {\n          \"address_line1_check\": null,\n          \"address_postal_code_check\": null,\n          \"cvc_check\": \"pass\"\n        },\n        \"country\": \"US\",\n        \"exp_month\": 3,\n        \"exp_year\": 2033,\n        \"fingerprint\": \"NORMALIZED000001\",\n        \"funding\": \"credit\",\n        \"generated_from\": null,\n        \"last4\": \"0341\",\n        \"networks\": {\n          \"available\": [\n            \"visa\"\n          ],\n          \"preferred\": null\n        },\n        \"three_d_secure_usage\": {\n          \"supported\": true\n        },\n        \"wallet\": null\n      },\n      \"created\": 1000000000,\n      \"customer\": \"cus_NORMALIZED0001\",\n      \"livemode\": false,\n      \"metadata\": {\n      },\n      \"type\": \"card\"\n    },\n    \"type\": \"card_error\"\n  }\n}\n",
  "http_status": 402,
  "json_body": {
    "error": {
      "charge": "ch_NORMALIZED00000000000002",
      "code": "card_declined",
      "decline_code": "generic_decline",
      "doc_url": "https://stripe.com/docs/error-codes/card-declined",
      "message": "Your card was declined.",
      "payment_intent": {
        "amount": 5000,
        "amount_capturable": 0,
        "amount_received": 0,
        "application": null,
        "application_fee_amount": null,
        "canceled_at": null,
        "cancellation_reason": null,
        "capture_method": "automatic",
        "charges": {
          "data": [
            {
              "amount": 5000,
              "amount_captured": 0,
              "amount_refunded": 0,
              "application": null,
              "application_fee": null,
              "application_fee_amount": null,
              "balance_transaction": null,
              "billing_details": {
                "address": {
                  "city": null,
                  "country": null,
                  "line1": null,
                  "line2": null,
                  "postal_code": null,
                  "state": null
                },
                "email": null,
                "name": null,
                "phone": null
              },
              "calculated_statement_descriptor": "Stripe",
              "captured": false,
              "created": 1000000000,
              "currency": "usd",
              "customer": "cus_NORMALIZED0001",
              "description": "Payment for Invoice",
              "destination": null,
              "dispute": null,
              "disputed": false,
              "failure_code": "card_declined",
              "failure_message": "Your card was declined.",
              "fraud_details": {},
              "id": "ch_NORMALIZED00000000000002",
              "invoice": "in_NORMALIZED00000000000003",
              "livemode": false,
              "metadata": {},
              "object": "charge",
              "on_behalf_of": null,
              "order": null,
              "outcome": {
                "network_status": "declined_by_network",
                "reason": "generic_decline",
                "risk_level": "normal",
                "risk_score": 0,
                "seller_message": "The bank did not return any further details with this decline.",
                "type": "issuer_declined"
              },
              "paid": false,
              "payment_intent": "pi_NORMALIZED00000000000003",
              "payment_method": "pm_1JItSyA4KHR4JzRv1Y1r16Ay",
              "payment_method_details": {
                "card": {
                  "brand": "visa",
                  "checks": {
                    "address_line1_check": null,
                    "address_postal_code_check": null,
                    "cvc_check": "pass"
                  },
                  "country": "US",
                  "exp_month": 3,
                  "exp_year": 2033,
                  "fingerprint": "NORMALIZED000001",
                  "funding": "credit",
                  "installments": null,
                  "last4": "0341",
                  "network": "visa",
                  "three_d_secure": null,
                  "wallet": null
                },
                "type": "card"
              },
              "receipt_email": null,
              "receipt_number": null,
              "receipt_url": null,
              "refunded": false,
              "refunds": {
                "data": [],
                "has_more": false,
                "object": "list",
                "total_count": 0,
                "url": "/v1/charges/ch_NORMALIZED00000000000002/refunds"
              },
              "review": null,
              "shipping": null,
              "source": null,
              "source_transfer": null,
              "statement_descriptor": null,
              "statement_descriptor_suffix": null,
              "status": "failed",
              "transfer_data": null,
              "transfer_group": null
            }
          ],
          "has_more": false,
          "object": "list",
          "total_count": 1,
          "url": "/v1/charges?payment_intent=pi_NORMALIZED00000000000003"
        },
        "client_secret": "pi_NORMALIZED00000000000003_secret_kRNeiOWgFBpDweYKcmccTn53m",
        "confirmation_method": "automatic",
        "created": 1000000000,
        "currency": "usd",
        "customer": "cus_NORMALIZED0001",
        "description": "Payment for Invoice",
        "id": "pi_NORMALIZED00000000000003",
        "invoice": "in_NORMALIZED00000000000003",
        "last_payment_error": {
          "charge": "ch_NORMALIZED00000000000002",
          "code": "card_declined",
          "decline_code": "generic_decline",
          "doc_url": "https://stripe.com/docs/error-codes/card-declined",
          "message": "Your card was declined.",
          "payment_method": {
            "billing_details": {
              "address": {
                "city": null,
                "country": null,
                "line1": null,
                "line2": null,
                "postal_code": null,
                "state": null
              },
              "email": null,
              "name": null,
              "phone": null
            },
            "card": {
              "brand": "visa",
              "checks": {
                "address_line1_check": null,
                "address_postal_code_check": null,
                "cvc_check": "pass"
              },
              "country": "US",
              "exp_month": 3,
              "exp_year": 2033,
              "fingerprint": "NORMALIZED000001",
              "funding": "credit",
              "generated_from": null,
              "last4": "0341",
              "networks": {
                "available": [
                  "visa"
                ],
                "preferred": null
              },
              "three_d_secure_usage": {
                "supported": true
              },
              "wallet": null
            },
            "created": 1000000000,
            "customer": "cus_NORMALIZED0001",
            "id": "pm_1JItSyA4KHR4JzRv1Y1r16Ay",
            "livemode": false,
            "metadata": {},
            "object": "payment_method",
            "type": "card"
          },
          "type": "card_error"
        },
        "livemode": false,
        "metadata": {},
        "next_action": null,
        "object": "payment_intent",
        "on_behalf_of": null,
        "payment_method": null,
        "payment_method_options": {
          "card": {
            "installments": null,
            "network": null,
            "request_three_d_secure": "automatic"
          }
        },
        "payment_method_types": [
          "card"
        ],
        "receipt_email": null,
        "review": null,
        "setup_future_usage": null,
        "shipping": null,
        "source": null,
        "statement_descriptor": null,
        "statement_descriptor_suffix": null,
        "status": "requires_payment_method",
        "transfer_data": null,
        "transfer_group": null
      },
      "payment_method": {
        "billing_details": {
          "address": {
            "city": null,
            "country": null,
            "line1": null,
            "line2": null,
            "postal_code": null,
            "state": null
          },
          "email": null,
          "name": null,
          "phone": null
        },
        "card": {
          "brand": "visa",
          "checks": {
            "address_line1_check": null,
            "address_postal_code_check": null,
            "cvc_check": "pass"
          },
          "country": "US",
          "exp_month": 3,
          "exp_year": 2033,
          "fingerprint": "NORMALIZED000001",
          "funding": "credit",
          "generated_from": null,
          "last4": "0341",
          "networks": {
            "available": [
              "visa"
            ],
            "preferred": null
          },
          "three_d_secure_usage": {
            "supported": true
          },
          "wallet": null
        },
        "created": 1000000000,
        "customer": "cus_NORMALIZED0001",
        "id": "pm_1JItSyA4KHR4JzRv1Y1r16Ay",
        "livemode": false,
        "metadata": {},
        "object": "payment_method",
        "type": "card"
      },
      "type": "card_error"
    }
  },
  "param": null,
  "request_id": "req_NORMALIZED0012"
}
