Pomerado Payment Methods API
The payment_methods API from Pomerado — 2 operation(s) for payment_methods.
The payment_methods API from Pomerado — 2 operation(s) for payment_methods.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/pomerado-ai:pomerado-ai-payment-methods-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Pomerado Payment Methods API
version: '1'
description: Run and build website tools, follow their jobs, and manage logins, API keys and webhooks. Authenticate with a Pomerado API key (pom_…), an MCP OAuth token or a Dashboard session as a Bearer token.
servers:
- url: https://api.pomerado.ai
tags:
- name: Payment Methods
x-group: Payment methods
paths:
/v1/payer-profiles/{id}/payment-methods:
post:
operationId: payment_methods.create
tags:
- Payment Methods
summary: Add a payment method
description: 'Start adding a card to a payer profile and return the single-use page where its cardholder enters it.
- Send enrollment_url to the cardholder. It expires after 30 minutes. Card details go only to that page, never to Pomerado.
- The payment method is pending_enrollment until they finish; list payment methods to see it active.
- A Visa or Mastercard card can pay once its can_pay is true.'
parameters:
- name: id
in: path
required: true
description: payer_ and 32 lowercase hex digits
schema:
type: string
responses:
'201':
description: The new payment method and its one-time enrollment page
content:
application/json:
schema:
$ref: '#/components/schemas/PaymentMethodEnrollment'
'400':
description: invalid_request
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: unauthorized, reauthentication_required
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: payer_profile_not_found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: payment_method_limit
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: internal_error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: payment_vendor_unavailable, temporarily_unavailable
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
security:
- bearer: []
x-pomerado-effect: write
x-pomerado-callers:
- session
- oauth
- api_key
x-pomerado-permission: runs:create
get:
operationId: payment_methods.list
tags:
- Payment Methods
summary: List payment methods
description: 'List a payer profile''s payment methods as the card vault holds them now: each card''s brand, last four digits, status and whether it can pay.'
parameters:
- name: id
in: path
required: true
description: payer_ and 32 lowercase hex digits
schema:
type: string
- name: cursor
in: query
required: false
description: The next_cursor of the previous page
schema:
type: string
- name: limit
in: query
required: false
description: Items per page, 1 to 100 (default 20)
schema:
type: string
responses:
'200':
description: One page of payment methods
content:
application/json:
schema:
type: object
required:
- data
- next_cursor
properties:
data:
type: array
items:
$ref: '#/components/schemas/PaymentMethod'
next_cursor:
anyOf:
- type: string
- type: 'null'
additionalProperties: false
'400':
description: invalid_request
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: unauthorized, reauthentication_required
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: payer_profile_not_found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: internal_error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: payment_vendor_unavailable, temporarily_unavailable
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
security:
- bearer: []
x-pomerado-effect: read
x-pomerado-callers:
- session
- oauth
- api_key
x-pomerado-permission: runs:create
/v1/payer-profiles/{id}/payment-methods/{payment_method_id}:
delete:
operationId: payment_methods.delete
tags:
- Payment Methods
summary: Delete a payment method
description: Remove a card from a payer profile and from the card vault. A paying run can't use it afterwards.
parameters:
- name: id
in: path
required: true
description: payer_ and 32 lowercase hex digits
schema:
type: string
- name: payment_method_id
in: path
required: true
description: paym_ and 32 lowercase hex digits
schema:
type: string
responses:
'204':
description: Deleted
'400':
description: invalid_request
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: unauthorized, reauthentication_required
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: payer_profile_not_found, payment_method_not_found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: payer_profile_delete_blocked
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: internal_error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: payment_vendor_unavailable, temporarily_unavailable
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
security:
- bearer: []
x-pomerado-effect: destructive
x-pomerado-callers:
- session
- oauth
- api_key
x-pomerado-permission: runs:create
components:
schemas:
PaymentMethodEnrollment:
type: object
required:
- payment_method
- enrollment_url
- expires_at
properties:
payment_method:
$ref: '#/components/schemas/PaymentMethod'
enrollment_url:
type: string
description: The single-use page where the cardholder enters the card, shown only in this response. Send it to the cardholder; it expires after 30 minutes
expires_at:
anyOf:
- $ref: '#/components/schemas/Date'
- type: 'null'
additionalProperties: false
payment_method_id:
type: string
description: paym_ and 32 lowercase hex digits
pattern: ^paym_[0-9a-f]{32}$
PaymentMethod:
type: object
required:
- id
- payer_profile_id
- brand
- last4
- status
- network_token
- can_pay
- created_at
properties:
id:
$ref: '#/components/schemas/payment_method_id'
payer_profile_id:
$ref: '#/components/schemas/payer_profile_id'
brand:
anyOf:
- type: string
enum:
- visa
- mastercard
- type: 'null'
last4:
anyOf:
- type: string
- type: 'null'
status:
type: string
enum:
- pending_enrollment
- active
- removal_pending
- recovery_required
description: pending_enrollment until the cardholder enrols the card on its link; active once stored; removal_pending or recovery_required while a removal or an enrollment is unresolved
network_token:
anyOf:
- type: boolean
- type: 'null'
description: Whether the card has a network token; null while unknown, as it is until the card vault reports one. Use can_pay to see whether the card can pay
can_pay:
anyOf:
- type: boolean
- type: 'null'
description: Whether the card vault says the card can pay; null while unknown
created_at:
$ref: '#/components/schemas/Date'
additionalProperties: false
Error:
type: object
required:
- error
properties:
error:
type: object
required:
- code
- message
- retryable
- docs_url
properties:
code:
type: string
message:
type: string
retryable:
type: boolean
docs_url:
type: string
details:
type: object
required: []
properties: {}
additionalProperties:
$id: /schemas/unknown
additionalProperties: false
additionalProperties: false
payer_profile_id:
type: string
description: payer_ and 32 lowercase hex digits
pattern: ^payer_[0-9a-f]{32}$
Date:
type: string
description: a string to be decoded into a Date
securitySchemes:
bearer:
type: http
scheme: bearer