{
  "_message": "Your card was declined.",
  "code": "card_declined",
  "headers": {
    "Connection": "keep-alive",
    "Content-Length": "7889",
    "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_NORMALIZED0002",
    "request-id": "req_NORMALIZED0002",
    "stripe-version": "2019-03-14"
  },
  "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_1F96BhGh0CmXqmnwXdcsnxHY\",\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_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\": \"Pacific\",\n                \"country\": \"United States\",\n                \"line1\": \"Under the sea,\",\n                \"line2\": null,\n                \"postal_code\": \"33333\",\n                \"state\": null\n              },\n              \"email\": null,\n              \"name\": \"Ada Starr\",\n              \"phone\": null\n            },\n            \"captured\": false,\n            \"created\": 1000000000,\n            \"currency\": \"usd\",\n            \"customer\": \"cus_NORMALIZED0001\",\n            \"description\": \"Payment for invoice FF56B020-0002\",\n            \"destination\": null,\n            \"dispute\": null,\n            \"failure_code\": \"card_declined\",\n            \"failure_message\": \"Your card was declined.\",\n            \"fraud_details\": {\n            },\n            \"invoice\": \"in_NORMALIZED00000000000002\",\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\": 11,\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_1F96BhGh0CmXqmnwXdcsnxHY\",\n            \"payment_method\": \"card_NORMALIZED00000000000002\",\n            \"payment_method_details\": {\n              \"card\": {\n                \"brand\": \"visa\",\n                \"checks\": {\n                  \"address_line1_check\": \"pass\",\n                  \"address_postal_code_check\": \"pass\",\n                  \"cvc_check\": \"pass\"\n                },\n                \"country\": \"US\",\n                \"exp_month\": 3,\n                \"exp_year\": 2033,\n                \"fingerprint\": \"NORMALIZED000002\",\n                \"funding\": \"credit\",\n                \"last4\": \"0341\",\n                \"three_d_secure\": null,\n                \"wallet\": null\n              },\n              \"type\": \"card\"\n            },\n            \"receipt_email\": \"hamlet@zulip.com\",\n            \"receipt_number\": null,\n            \"receipt_url\": \"https://pay.stripe.com/receipts/acct_NORMALIZED000001/ch_NORMALIZED00000000000002/rcpt_NORMALIZED000000000000000000002\",\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\": {\n              \"id\": \"card_NORMALIZED00000000000002\",\n              \"object\": \"card\",\n              \"address_city\": \"Pacific\",\n              \"address_country\": \"United States\",\n              \"address_line1\": \"Under the sea,\",\n              \"address_line1_check\": \"pass\",\n              \"address_line2\": null,\n              \"address_state\": null,\n              \"address_zip\": \"33333\",\n              \"address_zip_check\": \"pass\",\n              \"brand\": \"Visa\",\n              \"country\": \"US\",\n              \"customer\": \"cus_NORMALIZED0001\",\n              \"cvc_check\": \"pass\",\n              \"dynamic_last4\": null,\n              \"exp_month\": 3,\n              \"exp_year\": 2033,\n              \"fingerprint\": \"NORMALIZED000002\",\n              \"funding\": \"credit\",\n              \"last4\": \"0341\",\n              \"metadata\": {\n              },\n              \"name\": \"Ada Starr\",\n              \"tokenization_method\": null\n            },\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_1F96BhGh0CmXqmnwXdcsnxHY\"\n      },\n      \"client_secret\": \"pi_1F96BhGh0CmXqmnwXdcsnxHY_secret_Nl29CEFAEgp65EZvfiNxjnetP\",\n      \"confirmation_method\": \"automatic\",\n      \"created\": 1000000000,\n      \"currency\": \"usd\",\n      \"customer\": \"cus_NORMALIZED0001\",\n      \"description\": \"Payment for invoice FF56B020-0002\",\n      \"invoice\": \"in_NORMALIZED00000000000002\",\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        \"source\": {\n          \"id\": \"card_NORMALIZED00000000000002\",\n          \"object\": \"card\",\n          \"address_city\": \"Pacific\",\n          \"address_country\": \"United States\",\n          \"address_line1\": \"Under the sea,\",\n          \"address_line1_check\": \"pass\",\n          \"address_line2\": null,\n          \"address_state\": null,\n          \"address_zip\": \"33333\",\n          \"address_zip_check\": \"pass\",\n          \"brand\": \"Visa\",\n          \"country\": \"US\",\n          \"customer\": \"cus_NORMALIZED0001\",\n          \"cvc_check\": \"pass\",\n          \"dynamic_last4\": null,\n          \"exp_month\": 3,\n          \"exp_year\": 2033,\n          \"fingerprint\": \"NORMALIZED000002\",\n          \"funding\": \"credit\",\n          \"last4\": \"0341\",\n          \"metadata\": {\n          },\n          \"name\": \"Ada Starr\",\n          \"tokenization_method\": null\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          \"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    \"source\": {\n      \"id\": \"card_NORMALIZED00000000000002\",\n      \"object\": \"card\",\n      \"address_city\": \"Pacific\",\n      \"address_country\": \"United States\",\n      \"address_line1\": \"Under the sea,\",\n      \"address_line1_check\": \"pass\",\n      \"address_line2\": null,\n      \"address_state\": null,\n      \"address_zip\": \"33333\",\n      \"address_zip_check\": \"pass\",\n      \"brand\": \"Visa\",\n      \"country\": \"US\",\n      \"customer\": \"cus_NORMALIZED0001\",\n      \"cvc_check\": \"pass\",\n      \"dynamic_last4\": null,\n      \"exp_month\": 3,\n      \"exp_year\": 2033,\n      \"fingerprint\": \"NORMALIZED000002\",\n      \"funding\": \"credit\",\n      \"last4\": \"0341\",\n      \"metadata\": {\n      },\n      \"name\": \"Ada Starr\",\n      \"tokenization_method\": null\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_refunded": 0,
              "application": null,
              "application_fee": null,
              "application_fee_amount": null,
              "balance_transaction": null,
              "billing_details": {
                "address": {
                  "city": "Pacific",
                  "country": "United States",
                  "line1": "Under the sea,",
                  "line2": null,
                  "postal_code": "33333",
                  "state": null
                },
                "email": null,
                "name": "Ada Starr",
                "phone": null
              },
              "captured": false,
              "created": 1000000000,
              "currency": "usd",
              "customer": "cus_NORMALIZED0001",
              "description": "Payment for invoice FF56B020-0002",
              "destination": null,
              "dispute": null,
              "failure_code": "card_declined",
              "failure_message": "Your card was declined.",
              "fraud_details": {},
              "id": "ch_NORMALIZED00000000000002",
              "invoice": "in_NORMALIZED00000000000002",
              "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": 00,
                "seller_message": "The bank did not return any further details with this decline.",
                "type": "issuer_declined"
              },
              "paid": false,
              "payment_intent": "pi_1F96BhGh0CmXqmnwXdcsnxHY",
              "payment_method": "card_NORMALIZED00000000000002",
              "payment_method_details": {
                "card": {
                  "brand": "visa",
                  "checks": {
                    "address_line1_check": "pass",
                    "address_postal_code_check": "pass",
                    "cvc_check": "pass"
                  },
                  "country": "US",
                  "exp_month": 3,
                  "exp_year": 2033,
                  "fingerprint": "NORMALIZED000002",
                  "funding": "credit",
                  "last4": "0341",
                  "three_d_secure": null,
                  "wallet": null
                },
                "type": "card"
              },
              "receipt_email": "hamlet@zulip.com",
              "receipt_number": null,
              "receipt_url": "https://pay.stripe.com/receipts/acct_NORMALIZED000001/ch_NORMALIZED00000000000002/rcpt_NORMALIZED000000000000000000002",
              "refunded": false,
              "refunds": {
                "data": [],
                "has_more": false,
                "object": "list",
                "total_count": 0,
                "url": "/v1/charges/ch_NORMALIZED00000000000002/refunds"
              },
              "review": null,
              "shipping": null,
              "source": {
                "address_city": "Pacific",
                "address_country": "United States",
                "address_line1": "Under the sea,",
                "address_line1_check": "pass",
                "address_line2": null,
                "address_state": null,
                "address_zip": "33333",
                "address_zip_check": "pass",
                "brand": "Visa",
                "country": "US",
                "customer": "cus_NORMALIZED0001",
                "cvc_check": "pass",
                "dynamic_last4": null,
                "exp_month": 3,
                "exp_year": 2033,
                "fingerprint": "NORMALIZED000002",
                "funding": "credit",
                "id": "card_NORMALIZED00000000000002",
                "last4": "0341",
                "metadata": {},
                "name": "Ada Starr",
                "object": "card",
                "tokenization_method": 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_1F96BhGh0CmXqmnwXdcsnxHY"
        },
        "client_secret": "pi_1F96BhGh0CmXqmnwXdcsnxHY_secret_Nl29CEFAEgp65EZvfiNxjnetP",
        "confirmation_method": "automatic",
        "created": 1000000000,
        "currency": "usd",
        "customer": "cus_NORMALIZED0001",
        "description": "Payment for invoice FF56B020-0002",
        "id": "pi_1F96BhGh0CmXqmnwXdcsnxHY",
        "invoice": "in_NORMALIZED00000000000002",
        "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.",
          "source": {
            "address_city": "Pacific",
            "address_country": "United States",
            "address_line1": "Under the sea,",
            "address_line1_check": "pass",
            "address_line2": null,
            "address_state": null,
            "address_zip": "33333",
            "address_zip_check": "pass",
            "brand": "Visa",
            "country": "US",
            "customer": "cus_NORMALIZED0001",
            "cvc_check": "pass",
            "dynamic_last4": null,
            "exp_month": 3,
            "exp_year": 2033,
            "fingerprint": "NORMALIZED000002",
            "funding": "credit",
            "id": "card_NORMALIZED00000000000002",
            "last4": "0341",
            "metadata": {},
            "name": "Ada Starr",
            "object": "card",
            "tokenization_method": null
          },
          "type": "card_error"
        },
        "livemode": false,
        "metadata": {},
        "next_action": null,
        "object": "payment_intent",
        "on_behalf_of": null,
        "payment_method": null,
        "payment_method_options": {
          "card": {
            "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
      },
      "source": {
        "address_city": "Pacific",
        "address_country": "United States",
        "address_line1": "Under the sea,",
        "address_line1_check": "pass",
        "address_line2": null,
        "address_state": null,
        "address_zip": "33333",
        "address_zip_check": "pass",
        "brand": "Visa",
        "country": "US",
        "customer": "cus_NORMALIZED0001",
        "cvc_check": "pass",
        "dynamic_last4": null,
        "exp_month": 3,
        "exp_year": 2033,
        "fingerprint": "NORMALIZED000002",
        "funding": "credit",
        "id": "card_NORMALIZED00000000000002",
        "last4": "0341",
        "metadata": {},
        "name": "Ada Starr",
        "object": "card",
        "tokenization_method": null
      },
      "type": "card_error"
    }
  },
  "param": null,
  "request_id": "req_NORMALIZED0002"
}
