DogPay Card Management API
The Card Management API from DogPay — 7 operation(s) for card management.
The Card Management API from DogPay — 7 operation(s) for card management.
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/dogpay-com:dogpay-com-card-management-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: CaaS Card Management API
description: '## Start here: card issuance
All paths below are relative to **/open-api/v1**. Use your configured CaaS API credentials. For a child account, send the same **dgp-entity-id** throughout discovery, preparation, issuance and queries. Do not send accountId in the request body to select an account. ### 1. Discover the product and its flow
Call **GET /cards/bins** (the card channel/product list). Select a product and inspect
**issuance.virtual** or **issuance.physical** for the requested card form:
| Value | What to do |
| --- | --- |
| null | This card form is not supported. Select another product. |
| requiresPreparation=false | No independent preparation step is required. Continue with the advertised flow. |
| requiresPreparation=true | Complete GET /cards/preparation and its required steps before issuance. |
| flow=standard | Use POST /cards. c_015 virtual cards use this flow. |
| flow=application | Use the physical quote/apply flow below. c_015 physical cards use this flow. |
The product''s **id** is named **cardChannelId** in preparation/physical quote requests, but **channelId** in POST /cards. Capabilities describe implemented flows; they do not reserve funds, stock or bank approval. ### 2. Create or reuse the local cardholder
Use **GET /card-holders** to find an existing holder, **POST /card-holders** to create one,
or **PUT /card-holders** with its id to correct local details. Save the returned holder id as **cardHolderId**. For c_015 enterprise holders, provide valid names, email, phone number and calling code before preparation. Creating a local holder is NOT bank approval. This flow does not use the legacy holder register endpoint. ### 3. Complete preparation (when required)
Call **GET /cards/preparation?cardChannelId=UUID&cardType=virtual&cardHolderId=UUID**;
use cardType=physical for physical cards. The default cardType is virtual. The channel list''s preparation.requiredContextFields describes extra query context, NOT the material fields to submit. If context is missing, fill **missingContextFields** and query again; no preparation record or form URL is created yet. Read **steps**, **requirements**, **description**, **revision**, **nextAction** and form availability. Use **steps[].type + steps[].id** for follow-up operations. The current type is **holder**;
do not send form.type=c_015-holder as the preparation type. | Method | Sequence |
| --- | --- |
| Hosted H5 | POST /cards/preparation/form-url with type, id, action=edit; open the returned url immediately; the user submits in H5; query preparation again. |
| Direct API | Upload required files using POST /cards/preparation/files (multipart); use returned fileId values in POST /cards/preparation/submit with type, id, revision and the complete values snapshot; query preparation again. |
| Read-only preview | When canPreview=true, POST /cards/preparation/form-url with action=preview. The URL is single-use and cannot edit or submit. |
Only request a URL when the user opens it. Editing is subject to current business state; canEdit is not permanent permission. All material DTO fields may be optional individually; requirements defines conditional mandatory fields and formats. Submission is a full snapshot, not PATCH. There is no API draft step. A successful submission is NOT bank approval. | Preparation result | Next action |
| --- | --- |
| isPrepared=true | All required independent steps are ready; proceed with issuance. |
| COMPLETE_FORM | Complete/correct materials when editing is allowed. |
| WAIT or RETRY | Wait until retryAfter when supplied, then query preparation again. Do not blindly resubmit. |
| CONTACT_SUPPORT | Follow feedback and contact support; do not create replacement holders to bypass the error. |
Changing local names/contact details does not update an already registered bank identity. On identity mismatch, use preview to compare records, restore the original local details or contact support.'
version: 3.6.1
contact: {}
servers:
- url: https://sandbox-api-v2.dogpay.com/
description: Sandbox
security:
- bearer: []
tags:
- name: Card Management
paths:
/open-api/v1/cards:
get:
operationId: OpenApiCardController_getAllCards
summary: Get card list
description: 'Permission: card.read. Query by cardId or virtual issuance callId to confirm creation results; card.status.update is a signal to refresh. Physical merchant callId belongs to /cards/physical/application, not this filter. Use cardId for an issued physical card.'
parameters:
- name: page
required: false
in: query
schema:
default: 1
type: number
- name: take
required: false
in: query
schema:
default: 10
type: number
- name: includeEntities
required: false
in: query
description: Applies only to institutional customers. If set to false, it includes all data under the main entity, and the `dgp-entity-id` header will be ignored.
schema:
default: null
type: boolean
- name: cursorId
required: false
in: query
description: Query based on cursorId for incremental pagination by passing in this field; used in conjunction with the orderByCreatedAt field, with the default being created_at desc.
schema:
type: string
- name: orderByCreatedAt
required: false
in: query
description: List data order by created at
schema:
example: desc
enum:
- asc
- desc
type: string
- name: cardId
required: false
in: query
description: Card ID
schema:
type: string
- name: label
required: false
in: query
description: Card label
schema:
maxLength: 100
type: string
- name: lastFour
required: false
in: query
description: Card last four digits
schema:
minLength: 4
maxLength: 4
type: string
- name: budgetId
required: false
in: query
description: Budget ID
schema:
type: string
- name: callId
required: false
in: query
description: Call ID
schema:
type: string
- name: statusList
required: false
in: query
description: Status list
schema:
type: array
items:
$ref: '#/components/schemas/CardStatusEnum'
- name: createAt
required: false
in: query
description: Create time
schema:
format: date-time
type: array
items:
type: string
- name: cardHolderId
required: false
in: query
description: Cardholder ID
deprecated: true
schema:
type: string
- name: cardholderId
required: false
in: query
description: Cardholder ID
schema:
type: string
- name: dgp-entity-id
in: header
description: Only white-label customer need to use it
required: false
schema:
type: string
responses:
'200':
description: ''
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/ApiSuccessResponse'
- $ref: '#/components/schemas/ApiSuccessResponse'
- type: object
properties:
data:
type: object
allOf:
- $ref: '#/components/schemas/FetchPageOutput'
- type: object
properties:
list:
type: array
items:
$ref: '#/components/schemas/OpenApiListCardOutut'
description: Data
required:
- list
required:
- data
properties:
data:
properties:
list:
items:
$ref: '#/components/schemas/OpenApiListCardOutut'
allOf:
- $ref: '#/components/schemas/FetchPageOutput'
- $ref: '#/components/schemas/FetchPageOutput'
type: object
type: object
tags:
- Card Management
delete:
operationId: OpenApiCardController_deleteCard
summary: Delete card
parameters:
- name: dgp-entity-id
in: header
description: Only white-label customer need to use it
required: false
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CardIdDto'
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ApiSuccessBooleanResponse'
tags:
- Card Management
/open-api/v1/cards/frozen:
put:
operationId: OpenApiCardController_frozenCard
summary: Freeze card
parameters:
- name: dgp-entity-id
in: header
description: Only white-label customer need to use it
required: false
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CardIdDto'
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ApiSuccessBooleanResponse'
tags:
- Card Management
/open-api/v1/cards/operation:
get:
operationId: OpenApiCardController_getCardOperation
summary: Get card operation
description: 'Get the latest c_015 card operation, including asynchronous PIN reset; null if none exists
Permission: card.read. Query cardId for the latest c_015 operation, including virtual/physical PIN reset; null means no operation exists. pending/unknown is unresolved, completed confirms the operation, failed requires action. For an exact physical operation use /cards/physical/operation with operationId. No PIN is returned.'
parameters:
- name: cardId
required: true
in: query
description: card id
schema:
type: string
- name: dgp-entity-id
in: header
description: Only white-label customer need to use it
required: false
schema:
type: string
responses:
'200':
description: ''
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/ApiSuccessResponse'
- properties:
data:
allOf:
- $ref: '#/components/schemas/PhysicalOperationOutput'
type:
- object
- 'null'
type: object
tags:
- Card Management
/open-api/v1/cards/pin:
get:
operationId: OpenApiCardController_getCardPin
summary: get card pin
parameters:
- name: cardId
required: true
in: query
description: card id
schema:
type: string
- name: dgp-entity-id
in: header
description: Only white-label customer need to use it
required: false
schema:
type: string
responses:
'200':
description: ''
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/ApiSuccessResponse'
- $ref: '#/components/schemas/ApiSuccessResponse'
- type: object
properties:
data:
$ref: '#/components/schemas/OpenApiPinEncryptedDto'
required:
- data
properties:
data:
$ref: '#/components/schemas/OpenApiPinEncryptedDto'
type: object
tags:
- Card Management
put:
operationId: OpenApiCardController_updateCardPin
summary: update card pin
parameters:
- name: dgp-entity-id
in: header
description: Only white-label customer need to use it
required: false
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/OpenApiPinEncryptedDto'
responses:
'200':
description: ''
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/ApiSuccessBooleanResponse'
- $ref: '#/components/schemas/ApiSuccessResponse'
- properties:
data:
oneOf:
- type: boolean
- $ref: '#/components/schemas/PhysicalOperationOutput'
type: object
type: object
tags:
- Card Management
description: 'Permission: card.pin.update for explicit credentials. Optional after activation. Encrypt {pinCode, cardId, timestamp} using the existing CardDataEncryption protocol. c_015 RESET is asynchronous for supported virtual/physical cards; other banks retain boolean responses. Next: GET /cards/operation (card.read). Do not resubmit pending/unknown. This does not activate the card.'
/open-api/v1/cards/scene:
get:
operationId: OpenApiCardController_getCardSceneList
summary: List supported scenes
parameters: []
responses:
'200':
description: ''
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/ApiSuccessListResponse'
- $ref: '#/components/schemas/ApiSuccessListResponse'
- type: object
properties:
data:
type: object
allOf:
- $ref: '#/components/schemas/CardSceneOutput'
required:
- data
properties:
data:
type: array
items:
$ref: '#/components/schemas/CardSceneOutput'
type: object
tags:
- Card Management
/open-api/v1/cards/unfrozen:
put:
operationId: OpenApiCardController_unfrozenCard
summary: Unfreeze card
parameters:
- name: dgp-entity-id
in: header
description: Only white-label customer need to use it
required: false
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CardIdDto'
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ApiSuccessBooleanResponse'
tags:
- Card Management
/open-api/v1/cards/use-scene:
put:
operationId: OpenApiCardController_updateCardScene
summary: Update card scene
parameters:
- name: dgp-entity-id
in: header
description: Only white-label customer need to use it
required: false
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CardSceneInput'
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ApiSuccessBooleanResponse'
tags:
- Card Management
get:
operationId: OpenApiCardController_getCardSetSceneList
summary: List setted card scenes
parameters:
- name: cardId
required: true
in: query
description: card id
schema:
type: string
- name: dgp-entity-id
in: header
description: Only white-label customer need to use it
required: false
schema:
type: string
responses:
'200':
description: ''
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/ApiSuccessListResponse'
- $ref: '#/components/schemas/ApiSuccessListResponse'
- type: object
properties:
data:
type: object
allOf:
- $ref: '#/components/schemas/CardSceneDto'
required:
- data
properties:
data:
type: array
items:
$ref: '#/components/schemas/CardSceneDto'
type: object
tags:
- Card Management
components:
schemas:
CardStatusEnum:
type: string
description: Card status
enum:
- active
- deleted
- frozen
- opening
- reviewing
- rejected
- processing
- pre_delete
- expired
CardSceneDto:
type: object
properties:
sceneId:
type: string
description: Scene ID
type:
type: number
description: Scene matching type, 0-blacklist,1-whitelist
scene:
description: Scene details
type: object
allOf:
- $ref: '#/components/schemas/SceneDetailDto'
required:
- sceneId
- type
- scene
CardSceneOutput:
type: object
properties:
id:
type: string
description: Scene ID
key:
type: string
description: Consumption platform name
required:
- id
- key
CurrencyEnum:
type: string
description: Transaction Currency
enum:
- USD
- HKD
- CNY
- EUR
- GBP
- AUD
- CAD
- CZK
- DKK
- HRK
- HUF
- IDR
- INR
- MXN
- MYR
- NZD
- NOK
- PHP
- PLN
- SEK
- SGD
- RON
- ZAR
- AED
- CKZ
- JPY
- THB
- VND
- KES
- NGN
- CHF
- KRW
- CNH
- GHS
- ILS
- SAR
- TRY
- USDC
- USDT
- BTC
- ETH
- SOL
- TRX
- DOGE
- XAUT
- USDG
- BNB
OpenApiListCardOutut:
type: object
properties:
id:
type: string
description: Card ID
entityId:
type: string
description: Entity ID
cursorId:
type: string
description: Cursor ID
budgetId:
type: string
description: Budget ID
cardholderId:
type: string
description: Cardholder ID
label:
type: string
description: Card label
currency:
$ref: '#/components/schemas/CurrencyEnum'
last4:
type: string
description: Card last 4 digits
first6:
type: string
description: Card first 6 digits
status:
$ref: '#/components/schemas/CardStatusEnum'
firstName:
type: string
description: firstName
lastName:
type: string
description: lastName
name:
type: string
description: name
address:
description: Cardholder address
type: object
allOf:
- $ref: '#/components/schemas/AddressInputDto'
callId:
type: string
description: Call ID
type:
$ref: '#/components/schemas/CardUseTypeEnum'
balanceAvailable:
type: number
description: Card balance, If the card is bound to a budget, the balance is budget balance
createdAt:
format: date-time
type: string
description: Card creation date
idNo:
type: string
description: Card Id No
required:
- id
- entityId
- cursorId
- budgetId
- cardholderId
- label
- currency
- last4
- first6
- status
- firstName
- lastName
- name
- address
- type
- balanceAvailable
- createdAt
- idNo
CardIdDto:
type: object
properties:
cardId:
type: string
description: card id
required:
- cardId
OpenApiPinEncryptedDto:
type: object
properties:
encrypted:
type: string
description: 'Encrypted PIN result data '
example: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6
iv:
type: string
description: Initialization Vector (IV) for encryption, 16-byte hexadecimal string
example: 1234567890abcdef1234567890abcdef
tag:
type: string
description: authentication tag for data integrity verification, 16-byte hexadecimal string
example: abcdef1234567890abcdef1234567890
required:
- encrypted
- iv
- tag
ApiSuccessListResponse:
type: object
properties:
code:
type: number
description: Response code
message:
type: string
description: Message
timestamp:
type: number
description: Current time timestamp
data:
description: Data
type: array
items:
type: string
requestId:
type: string
description: Request ID
required:
- code
- message
- timestamp
- data
- requestId
ApiSuccessResponse:
type: object
properties:
code:
type: number
description: Response code
message:
type: string
description: Message
timestamp:
type: number
description: Current time timestamp
data:
type: object
description: Data
requestId:
type: string
description: Request ID
required:
- code
- message
- timestamp
- data
- requestId
ApiSuccessBooleanResponse:
type: object
properties:
code:
type: number
description: Response code
message:
type: string
description: Message
timestamp:
type: number
description: Current time timestamp
data:
type: boolean
description: Data
requestId:
type: string
description: Request ID
required:
- code
- message
- timestamp
- data
- requestId
CardSceneInput:
type: object
properties:
cardId:
type: string
description: card id
sceneIds:
description: scene id list
type: array
items:
type: string
sceneType:
type: number
description: Scene matching type, 0-blacklist,1-whitelist; When null and the length of the sceneIds array is 0, there is no scene limit
required:
- cardId
- sceneIds
- sceneType
PhysicalOperationOutput:
type: object
properties:
operationId:
type: string
format: uuid
description: Absent only when the card was already active
status:
type: string
enum:
- pending
- unknown
- completed
- failed
type:
type: string
enum:
- assign_physical_card
- activate_physical_card
- reset_physical_pin
- create_virtual_card
- virtual_to_physical
required:
- status
FetchPageOutput:
type: object
properties:
total:
type: number
description: Total
current:
type: number
description: Current number
list:
description: Data
type: array
items:
type: string
required:
- total
- current
- list
CardUseTypeEnum:
type: string
description: Card type
enum:
- virtual
- physical
SceneDetailDto:
type: object
properties:
id:
type: string
description: Scene ID
platform:
type: string
description: Consumption platform name
required:
- id
- platform
AddressInputDto:
type: object
properties:
line1:
type: string
description: 'address line 1 '
minLength: 1
maxLength: 255
line2:
type: string
description: address line 2
minLength: 0
maxLength: 255
postCode:
type: string
description: 'postal Code '
city:
type: string
state:
type: string
country:
type: string
description: country, 2-letter ISO code
required:
- line1
- postCode
- city
- state
- country
securitySchemes:
bearer:
type: http
scheme: bearer
x-provenance:
method: searched
source: https://docs.dogpay.com/reference
harvested: '2026-11-16'
tool: harvest-readme-openapi.py
note: Assembled verbatim from the OpenAPI definition ReadMe embeds in each operation page of the provider's developer portal; paths and components merged by API title, nothing authored.
assembled_from:
- https://docs.dogpay.com/reference/openapiaccountcontroller_getaccounttrxlist.md
- https://docs.dogpay.com/reference/openapiaccountcontroller_getmasterbalance.md
- https://docs.dogpay.com/reference/openapibudgetcontroller_createbudget.md
- https://docs.dogpay.com/reference/openapibudgetcontroller_deletebudget.md
- https://docs.dogpay.com/reference/openapibudgetcontroller_deletebudgetv2.md
- https://docs.dogpay.com/reference/openapibudgetcontroller_frozenbudget.md
- https://docs.dogpay.com/reference/openapibudgetcontroller_getallbudget.md
- https://docs.dogpay.com/reference/openapibudgetcontroller_getbudgettrxlist.md
- https://docs.dogpay.com/reference/openapibudgetcontroller_unfrozenbudget.md
- https://docs.dogpay.com/reference/openapibudgetcontroller_updatebudget.md
- https://docs.dogpay.com/reference/openapicardcontroller_batchcreatecards.md
- https://docs.dogpay.com/reference/openapicardcontroller_cardtransferaction.md
- https://docs.dogpay.com/reference/openapicardcontroller_careteshippinggroup.md
- https://docs.dogpay.com/reference/openapicardcontroller_countcard.md
- https://docs.dogpay.com/reference/openapicardcontroller_createcards.md
- https://docs.dogpay.com/reference/openapicardcontroller_deletecard.md
- https://docs.dogpay.com/reference/openapicardcontroller_frozencard.md
- https://docs.dogpay.com/reference/openapicardcontroller_getallcards.md
- https://docs.dogpay.com/reference/openapicardcontroller_getcardappendfee.md
- https://docs.dogpay.com/reference/openapicardcontroller_getcardoperation.md
- https://docs.dogpay.com/reference/openapicardcontroller_getcardpin.md
- https://docs.dogpay.com/reference/openapicardcontroller_getcardprivateinfo.md
- https://docs.dogpay.com/reference/openapicardcontroller_getcardsbins.md
- https://docs.dogpay.com/reference/openapicardcontroller_getcardscenelist.md
- https://docs.dogpay.com/reference/openapicardcontroller_getcardsetscenelist.md
- https://docs.dogpay.com/reference/openapicardcontroller_getcardspendinglimit.md
- https://docs.dogpay.com/reference/openapicardcontroller_getcardtrxlist.md
- https://docs.dogpay.com/reference/openapicardcontroller_getcreatecardtask.md
- https://docs.dogpay.com/reference/openapicardcontroller_listopenapicardtransaction.md
- https://docs.dogpay.com/reference/openapicardcontroller_unfrozencard.md
- https://docs.dogpay.com/reference/openapicardcontroller_updatecardappendfee.md
- https://docs.dogpay.com/reference/openapicardcontroller_updatecardpin.md
- https://docs.dogpay.com/reference/openapicardcontroller_updatecardscene.md
- https://docs.dogpay.com/reference/openapicardcontroller_updatecardspendinglimit.md
- https://docs.dogpay.com/reference/openapicardcustomercontroller_getcardcustomer.md
- https://docs.dogpay.com/reference/openapicardholdercontroller_createcardholder.md
- https://docs.dogpay.com/reference/openapicardholdercontroller_deletecardholder.md
- https://docs.dogpay.com/reference/openapicardholdercontroller_getcardholderlist.md
- https://docs.dogpay.com/reference/openapicardholdercontroller_registercardholder.md
- https://docs.dogpay.com/reference/openapicardholdercontroller_updatecardholder.md
- https://docs.dogpay.com/reference/openapicardpreparationcontroller_getapicardpreparation.md
- https://docs.dogpay.com/reference/openapicardpreparationcontroller_getapicardpreparationurl.md
- https://docs.dogpay.com/reference/openapicardpreparationcontroller_submitapicardpreparation.md
- https://docs.dogpay.com/reference/openapicardpreparationcontroller_uploadapicardpreparationfiles.md
- https://docs.dogpay.com/reference/openapiphysicalcardcontroller_activateapiphysicalcard.md
- https://docs.dogpay.com/reference/openapiphysicalcardcontroller_bindapiphysicalcard.md
- https://docs.dogpay.com/reference/openapiphysicalcardcontroller_getapiphysicalapplication.md
- https://docs.dogpay.com/reference/openapiphysicalcardcontroller_getapiphysicaloperation.md
- https://docs.dogpay.com/reference/openapiphysicalcardcontroller_quoteapiphysicalcard.md
merge:
pages: 49
deduped: 164
conflicts_kept_first: 0