Skip to main content
GET
/
v1
/
payment_methods
/
{id}
Retrieve a PaymentMethod
curl --request GET \
  --url https://api.leanrails.com/v1/payment_methods/{id} \
  --header 'Authorization: Basic <encoded-value>'
{
  "id": "<string>",
  "object": "payment_method",
  "type": "<string>",
  "livemode": true,
  "created": 123,
  "customer": "<string>",
  "card": {}
}

Documentation Index

Fetch the complete documentation index at: https://docs.fluveo.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Use your secret API key as the username with an empty password.

Headers

X-API-Version
string

Override the API version for this request.

Path Parameters

id
string
required

PaymentMethod ID

Response

Success

id
string
required
object
enum<string>
required
Available options:
payment_method
type
string
required
livemode
boolean
created
integer
customer
string | null
card
object