Created
June 28, 2020 07:18
-
-
Save chanakaDe/2296bedba1655db0531f74782611add3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "error", | |
"code": 500, | |
"msg": "Your card was declined.", | |
"body": { | |
"raw": { | |
"code": "card_declined", | |
"decline_code": "generic_decline", | |
"doc_url": "https://stripe.com/docs/error-codes/card-declined", | |
"message": "Your card was declined.", | |
"param": "", | |
"type": "card_error", | |
"headers": { | |
"server": "nginx", | |
"date": "Sun, 28 Jun 2020 07:17:45 GMT", | |
"content-type": "application/json", | |
"content-length": "241", | |
"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_vpfRfKZDwgRDxX", | |
"stripe-version": "2019-12-03", | |
"strict-transport-security": "max-age=31556926; includeSubDomains; preload" | |
}, | |
"statusCode": 402, | |
"requestId": "req_vpfRfKZDwgRDxX" | |
}, | |
"rawType": "card_error", | |
"code": "card_declined", | |
"param": "", | |
"headers": { | |
"server": "nginx", | |
"date": "Sun, 28 Jun 2020 07:17:45 GMT", | |
"content-type": "application/json", | |
"content-length": "241", | |
"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_vpfRfKZDwgRDxX", | |
"stripe-version": "2019-12-03", | |
"strict-transport-security": "max-age=31556926; includeSubDomains; preload" | |
}, | |
"requestId": "req_vpfRfKZDwgRDxX", | |
"statusCode": 402, | |
"decline_code": "generic_decline", | |
"type": "StripeCardError" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment