Here is the description of response attributes, which returns to the form of JSON.
It will return a success message if API execute successfully.
It's contains the client secret for generated payment intent.
Identifier for generated payment intent.
Does it require any action.
Here is the possible error messages, which return if any condition gets failed or required data is missing for processing.
Create SetupIntent successfully.
The request could not be understood by the server due to malformed syntax.
You are not authorized to view the resource.
Accessing the resource you were trying to reach is forbidden.
The resource you were trying to reach is not found.
Payment details are not valid.