Skip to content

Instantly share code, notes, and snippets.

@chanakaDe
Created June 28, 2020 07:19
Show Gist options
  • Save chanakaDe/9b1e32cadf2e35eee7d2aa1ae2355796 to your computer and use it in GitHub Desktop.
Save chanakaDe/9b1e32cadf2e35eee7d2aa1ae2355796 to your computer and use it in GitHub Desktop.
{
"type": "error",
"code": 500,
"msg": "Your card's security code is incorrect.",
"body": {
"raw": {
"code": "incorrect_cvc",
"doc_url": "https://stripe.com/docs/error-codes/incorrect-cvc",
"message": "Your card's security code is incorrect.",
"param": "cvc",
"type": "card_error",
"headers": {
"server": "nginx",
"date": "Sun, 28 Jun 2020 07:19:22 GMT",
"content-type": "application/json",
"content-length": "221",
"connection": "keep-alive",
"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",
"request-id": "req_Vwy4STuB8WiC2N",
"stripe-version": "2019-12-03",
"strict-transport-security": "max-age=31556926; includeSubDomains; preload"
},
"statusCode": 402,
"requestId": "req_Vwy4STuB8WiC2N"
},
"rawType": "card_error",
"code": "incorrect_cvc",
"param": "cvc",
"headers": {
"server": "nginx",
"date": "Sun, 28 Jun 2020 07:19:22 GMT",
"content-type": "application/json",
"content-length": "221",
"connection": "keep-alive",
"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",
"request-id": "req_Vwy4STuB8WiC2N",
"stripe-version": "2019-12-03",
"strict-transport-security": "max-age=31556926; includeSubDomains; preload"
},
"requestId": "req_Vwy4STuB8WiC2N",
"statusCode": 402,
"type": "StripeCardError"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment