Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API 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.
openapi: 3.2.0
info:
title: WalletPassBuilder Credits API
version: 1.0.0
description: 'Create, read, update, and archive Apple Wallet and Google Wallet passes,
check pass-credit balance, and send notifications.
An account can have several workspaces. Send a workspace''s id in the
`X-Workspace-Id` header to say which one a request is for; without it,
requests that create things use the account''s default workspace (chosen
in the dashboard under Settings > Workspace or API).
Full documentation with examples: https://walletpassbuilder.com/api-docs'
contact:
name: WalletPassBuilder Support
email: support@walletpassbuilder.com
url: https://walletpassbuilder.com/api-docs
servers:
- url: https://walletpassbuilder.com/api/v1
security:
- bearerAuth: []
tags:
- name: Credits
paths:
/credits:
get:
operationId: getCredits
summary: Get pass-credit balance
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/PassCreditsSummary'
'401':
$ref: '#/components/responses/Unauthorized'
'429':
$ref: '#/components/responses/RateLimited'
tags:
- Credits
components:
responses:
RateLimited:
description: Too many requests - see the Retry-After header
headers:
Retry-After:
schema:
type: integer
description: Seconds until the rate limit window resets.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Unauthorized:
description: Missing, invalid, or revoked API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
schemas:
Error:
type: object
properties:
error:
type: object
properties:
code:
type: string
enum:
- unauthorized
- invalid_request
- not_found
- credit_limit_exceeded
- rate_limited
- internal_error
message:
type: string
PassCreditsSummary:
type: object
properties:
balance:
type: integer
consumed:
type: integer
remaining:
type: integer
remainingPct:
type: number
low:
type: boolean
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: wpb_live_<key>
description: The account's API key (generate one at /api-keys), or an OAuth access token from an app the account connected, such as Zapier.