payment-intents
Retrieve a Payment Intent
Retrieve a payment intent by its ID.
Authorizations
Authorization
string
headerrequiredBasic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Path Parameters
payment_intent_id
string
requiredPayment Intent ID
Response
200 - application/json
The payment-intent
object.
id
string
requiredamount
integer
requiredAmount in cents
currency
enum<string>
requiredAvailable options:
usd
user_id
string
status
enum<string>
Available options:
initialized
, created
, requires_payment_method
, requires_confirmation
, requires_action
, processing
, succeeded
, requires_capture
, canceled
, failed
transfer_id
string
payment_method_id
string
metadata
object
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
client_secret
string
Only availble on payment intent creation.