openapi: 3.2.0 info: version: 2.57.0 title: Netlify's API documentation Payment Method API description: Netlify is a hosting service for the programmable web. termsOfService: https://www.netlify.com/legal/terms-of-use/ x-logo: url: netlify-logo.png href: https://www.netlify.com/docs/ altText: Netlify servers: - url: https://api.netlify.com/api/v1 security: - netlifyAuth: [] tags: - name: Payment Method x-displayName: Payment method paths: /billing/payment_methods: get: operationId: listPaymentMethodsForUser tags: - Payment Method responses: '200': description: OK content: application/json: schema: type: array items: type: object properties: id: type: string method_name: type: string type: type: string state: type: string data: type: object properties: card_type: type: string last4: type: string email: type: string created_at: type: string format: dateTime updated_at: type: string format: dateTime default: description: error content: application/json: schema: type: object required: - message properties: code: type: integer format: int64 message: type: string summary: List payment methods for user x-summary-source: derived components: securitySchemes: netlifyAuth: type: oauth2 flows: implicit: scopes: {} authorizationUrl: https://app.netlify.com/authorize externalDocs: url: https://www.netlify.com/docs/api/ description: Online documentation x-tagGroups: - name: OAuth tags: - ticket - accessToken - name: User accounts tags: - user - accountMembership - member - accountType - paymentMethod - auditLog - name: Site tags: - site - environmentVariables - file - metadata - purge - snippet - name: Domain names tags: - dnsZone - sniCertificate - name: Deploys tags: - deploy - deployedBranch - deployKey - name: Builds tags: - build - buildLogMsg - name: Dev servers tags: - devServer - name: Webhooks and notifications tags: - hook - hookType - buildHook - devServerHook - name: Services tags: - service - serviceInstance - name: Functions tags: - function - name: Database tags: - database - name: Forms tags: - form - submission - name: Split tests tags: - splitTest - name: Large media tags: - asset - assetPublicSignature