Exception: Stripe::OAuth::InvalidGrantError

Inherits:
OAuthError show all
Defined in:
lib/stripe/errors.rb

Overview

InvalidGrantError is raised when a specified code doesn’t exist, is expired, has been used, or doesn’t belong to you; a refresh token doesn’t exist, or doesn’t belong to you; or if an API key’s mode (live or test) doesn’t match the mode of a code or refresh token.

Instance Attribute Summary

Attributes inherited from StripeError

#code, #error, #http_body, #http_headers, #http_status, #json_body, #message, #request_id, #response

Method Summary

Methods inherited from OAuthError

#construct_error_object, #initialize

Methods inherited from StripeError

#construct_error_object, #idempotent_replayed?, #initialize, #to_s

Constructor Details

This class inherits a constructor from Stripe::OAuth::OAuthError