PaymentMethods
Get PaymentMethod
GET
/
api
/
v1
/
payment-methods
/
{id}
curl --request GET \
--url https://app.flowglad.com/api/v1/payment-methods/{id} \
--header 'Authorization: <api-key>'
{
"paymentMethod": {
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"createdByCommit": "<string>",
"updatedByCommit": "<string>",
"livemode": true,
"customerId": "<string>",
"billingDetails": {
"name": "<string>",
"email": "<string>",
"address": {
"name": "<string>",
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"state": "<string>",
"postal_code": "<string>",
"country": "<string>",
"address": {
"name": "<string>",
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"state": "<string>",
"postal_code": "<string>",
"country": "<string>"
}
}
},
"type": "card",
"default": true,
"paymentMethodData": {},
"metadata": {}
}
}
Authorizations
Path Parameters
Response
200
application/json
Successful response
The response is of type object
.
curl --request GET \
--url https://app.flowglad.com/api/v1/payment-methods/{id} \
--header 'Authorization: <api-key>'
{
"paymentMethod": {
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"createdByCommit": "<string>",
"updatedByCommit": "<string>",
"livemode": true,
"customerId": "<string>",
"billingDetails": {
"name": "<string>",
"email": "<string>",
"address": {
"name": "<string>",
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"state": "<string>",
"postal_code": "<string>",
"country": "<string>",
"address": {
"name": "<string>",
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"state": "<string>",
"postal_code": "<string>",
"country": "<string>"
}
}
},
"type": "card",
"default": true,
"paymentMethodData": {},
"metadata": {}
}
}
Assistant
Responses are generated using AI and may contain mistakes.