{
  "_message": "Your card was declined.",
  "code": "card_declined",
  "error": {
    "charge": null,
    "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": 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": "NORMALIZED000004",
        "funding": "credit",
        "generated_from": null,
        "last4": "0002",
        "networks": {
          "available": [
            "visa"
          ],
          "preferred": null
        },
        "three_d_secure_usage": {
          "supported": true
        },
        "wallet": null
      },
      "created": 1000000000,
      "customer": null,
      "id": "pm_1K2OZYHSaWXyvFpKclIOAgh8",
      "livemode": false,
      "metadata": {},
      "object": "payment_method",
      "type": "card"
    },
    "setup_intent": {
      "application": null,
      "cancellation_reason": null,
      "client_secret": "seti_1K2OZZHSaWXyvFpKYKVTCtbj_secret_KhoBQpJ7ggO6gkScBFeegq9dVxeRhSn",
      "created": 1000000000,
      "customer": "cus_NORMALIZED0001",
      "description": null,
      "id": "seti_1K2OZZHSaWXyvFpKYKVTCtbj",
      "last_setup_error": {
        "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": "NORMALIZED000004",
            "funding": "credit",
            "generated_from": null,
            "last4": "0002",
            "networks": {
              "available": [
                "visa"
              ],
              "preferred": null
            },
            "three_d_secure_usage": {
              "supported": true
            },
            "wallet": null
          },
          "created": 1000000000,
          "customer": null,
          "id": "pm_1K2OZYHSaWXyvFpKclIOAgh8",
          "livemode": false,
          "metadata": {},
          "object": "payment_method",
          "type": "card"
        },
        "type": "card_error"
      },
      "latest_attempt": "setatt_1K2OZZHSaWXyvFpK1e3vDP6S",
      "livemode": false,
      "mandate": null,
      "metadata": {},
      "next_action": null,
      "object": "setup_intent",
      "on_behalf_of": null,
      "payment_method": null,
      "payment_method_options": {
        "card": {
          "request_three_d_secure": "automatic"
        }
      },
      "payment_method_types": [
        "card"
      ],
      "single_use_mandate": null,
      "status": "requires_payment_method",
      "usage": "off_session"
    },
    "source": null,
    "type": "card_error"
  },
  "headers": {
    "Connection": "keep-alive",
    "Content-Length": "3817",
    "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_NORMALIZED0013",
    "request-id": "req_NORMALIZED0013",
    "stripe-should-retry": "false",
    "stripe-version": "2020-08-27"
  },
  "http_body": "{\n  \"error\": {\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_1K2OZYHSaWXyvFpKclIOAgh8\",\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\": \"NORMALIZED000004\",\n        \"funding\": \"credit\",\n        \"generated_from\": null,\n        \"last4\": \"0002\",\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\": null,\n      \"livemode\": false,\n      \"metadata\": {\n      },\n      \"type\": \"card\"\n    },\n    \"setup_intent\": {\n      \"id\": \"seti_1K2OZZHSaWXyvFpKYKVTCtbj\",\n      \"object\": \"setup_intent\",\n      \"application\": null,\n      \"cancellation_reason\": null,\n      \"client_secret\": \"seti_1K2OZZHSaWXyvFpKYKVTCtbj_secret_KhoBQpJ7ggO6gkScBFeegq9dVxeRhSn\",\n      \"created\": 1000000000,\n      \"customer\": \"cus_NORMALIZED0001\",\n      \"description\": null,\n      \"last_setup_error\": {\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_1K2OZYHSaWXyvFpKclIOAgh8\",\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\": \"NORMALIZED000004\",\n            \"funding\": \"credit\",\n            \"generated_from\": null,\n            \"last4\": \"0002\",\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\": null,\n          \"livemode\": false,\n          \"metadata\": {\n          },\n          \"type\": \"card\"\n        },\n        \"type\": \"card_error\"\n      },\n      \"latest_attempt\": \"setatt_1K2OZZHSaWXyvFpK1e3vDP6S\",\n      \"livemode\": false,\n      \"mandate\": null,\n      \"metadata\": {\n      },\n      \"next_action\": null,\n      \"on_behalf_of\": null,\n      \"payment_method\": null,\n      \"payment_method_options\": {\n        \"card\": {\n          \"request_three_d_secure\": \"automatic\"\n        }\n      },\n      \"payment_method_types\": [\n        \"card\"\n      ],\n      \"single_use_mandate\": null,\n      \"status\": \"requires_payment_method\",\n      \"usage\": \"off_session\"\n    },\n    \"type\": \"card_error\"\n  }\n}\n",
  "http_status": 402,
  "json_body": {
    "error": {
      "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": "NORMALIZED000004",
          "funding": "credit",
          "generated_from": null,
          "last4": "0002",
          "networks": {
            "available": [
              "visa"
            ],
            "preferred": null
          },
          "three_d_secure_usage": {
            "supported": true
          },
          "wallet": null
        },
        "created": 1000000000,
        "customer": null,
        "id": "pm_1K2OZYHSaWXyvFpKclIOAgh8",
        "livemode": false,
        "metadata": {},
        "object": "payment_method",
        "type": "card"
      },
      "setup_intent": {
        "application": null,
        "cancellation_reason": null,
        "client_secret": "seti_1K2OZZHSaWXyvFpKYKVTCtbj_secret_KhoBQpJ7ggO6gkScBFeegq9dVxeRhSn",
        "created": 1000000000,
        "customer": "cus_NORMALIZED0001",
        "description": null,
        "id": "seti_1K2OZZHSaWXyvFpKYKVTCtbj",
        "last_setup_error": {
          "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": "NORMALIZED000004",
              "funding": "credit",
              "generated_from": null,
              "last4": "0002",
              "networks": {
                "available": [
                  "visa"
                ],
                "preferred": null
              },
              "three_d_secure_usage": {
                "supported": true
              },
              "wallet": null
            },
            "created": 1000000000,
            "customer": null,
            "id": "pm_1K2OZYHSaWXyvFpKclIOAgh8",
            "livemode": false,
            "metadata": {},
            "object": "payment_method",
            "type": "card"
          },
          "type": "card_error"
        },
        "latest_attempt": "setatt_1K2OZZHSaWXyvFpK1e3vDP6S",
        "livemode": false,
        "mandate": null,
        "metadata": {},
        "next_action": null,
        "object": "setup_intent",
        "on_behalf_of": null,
        "payment_method": null,
        "payment_method_options": {
          "card": {
            "request_three_d_secure": "automatic"
          }
        },
        "payment_method_types": [
          "card"
        ],
        "single_use_mandate": null,
        "status": "requires_payment_method",
        "usage": "off_session"
      },
      "type": "card_error"
    }
  },
  "param": null,
  "request_id": "req_NORMALIZED0013"
}
