Billing
List payment methods.
Changed onReturns all payment methods attached to your account, including type, display name, card details, and which is the default.
get/api/v1/billing/payment-methods
Request
- Base URLhttps://app.customgpt.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Returns all payment methods attached to the account.
Example response
{
"status": "success",
"data": {
"paymentMethods": [
{
"type": "card",
"name": "VISA •••• 4242",
"isDefault": true
}
],
"defaultPaymentMethod": {
"type": "card",
"name": "VISA •••• 4242",
"isDefault": true
}
}
}Changes
- info
endpoint added
- info