DogPay Card Account API
The Card Account API from DogPay — 2 operation(s) for card account.
The Card Account API from DogPay — 2 operation(s) for card account.
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-account-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 Account 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 Account
paths:
/open-api/v1/account/balance:
get:
operationId: OpenApiAccountController_getMasterBalance
summary: Get Card Account Balance
description: ''
parameters:
- 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/OpenApiAccountBalanceOutput'
- $ref: '#/components/schemas/OpenApiAccountBalanceOutput'
- $ref: '#/components/schemas/ApiSuccessResponse'
- type: object
properties:
data:
$ref: '#/components/schemas/OpenApiAccountBalanceDto'
required:
- data
type: object
tags:
- Card Account
/open-api/v1/account/trx:
get:
operationId: OpenApiAccountController_getAccountTrxList
summary: Get Card Account Transaction List
parameters:
- name: page
required: false
in: query
schema:
default: 1
type: number
- name: take
required: false
in: query
schema:
default: 10
type: number
- name: types
required: false
in: query
description: Business Type
schema:
$ref: '#/components/schemas/AccountTxTypeEnum'
- name: statusList
required: false
in: query
description: Transaction status
schema:
$ref: '#/components/schemas/TransactionStatusEnum'
- name: processStatusList
required: false
in: query
description: Transaction process status
schema:
$ref: '#/components/schemas/TransactionProcessStatusEnum'
- name: createAt
required: false
in: query
description: Transaction creation time
schema:
format: date-time
type: array
items:
type: string
- name: completeAt
required: false
in: query
description: Transaction completion time
schema:
format: date-time
type: array
items:
type: string
- name: transactionAt
required: false
in: query
description: Transaction time
schema:
format: date-time
type: array
items:
type: string
- name: txSource
required: false
in: query
description: Transaction source
schema:
type: number
- name: orderNum
required: false
in: query
description: Order number
schema:
type: string
- name: id
required: false
in: query
description: Transaction ID (uuid)
schema:
type: string
- name: idNo
required: false
in: query
description: Transaction number (idNo)
schema:
type: string
- name: customerNotes
required: false
in: query
description: Fuzzy search for customer Notes
schema:
maxLength: 140
type: string
- name: dgp-entity-id
in: header
description: Only white-label customer need to use it
required: false
schema:
type: string
- name: callId
required: false
in: query
description: API Caller ID
schema:
minLength: 8
maxLength: 64
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/AccountTransactionDetailOutput'
description: Data
required:
- list
required:
- data
properties:
data:
properties:
list:
items:
$ref: '#/components/schemas/AccountTransactionDetailOutput'
allOf:
- $ref: '#/components/schemas/FetchPageOutput'
- $ref: '#/components/schemas/FetchPageOutput'
type: object
type: object
tags:
- Card Account
components:
schemas:
AccountTransactionDetailOutput:
type: object
properties:
accountId:
type: string
description: Account ID
orderNum:
type: string
description: Order Number
transactionId:
type: string
description: Transaction ID
amount:
type: number
description: Order Amount
currency:
$ref: '#/components/schemas/CurrencyEnum'
transactionAmount:
type: number
description: Original Order Amount
transactionCurrency:
$ref: '#/components/schemas/CurrencyEnum'
fee:
type: number
description: Transaction Fee
type:
$ref: '#/components/schemas/AccountTxTypeEnum'
status:
$ref: '#/components/schemas/TransactionStatusEnum'
processStatus:
$ref: '#/components/schemas/TransactionProcessStatusEnum'
transactionAt:
format: date-time
type: string
description: Transaction Time
completeAt:
format: date-time
type: string
description: Transaction Completion Time
txSource:
type: number
description: Transaction Source
callId:
type: string
description: API Caller ID (unique within the same business)
customerNotes:
type:
- string
- 'null'
description: Fuzzy search for customer Notes
reference:
type: string
description: postscript
transaction:
description: Basic transaction information
type: object
allOf:
- $ref: '#/components/schemas/BaseTransactionOutput'
required:
- accountId
- orderNum
- transactionId
- amount
- currency
- fee
- type
- status
- processStatus
- transactionAt
- completeAt
- transaction
TransactionTypeInfoOutput:
type: object
properties:
name:
type:
- string
- 'null'
description: Display name in Chinese
example: Transfer between personal accounts
name_en:
type:
- string
- 'null'
description: Display name in English
example: Transfer between personal accounts
required:
- name
- name_en
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
OpenApiAccountBalanceOutput:
type: object
properties:
code:
type: number
description: Response code
message:
type: string
description: Message
timestamp:
type: number
description: Current time timestamp
data:
description: Data
allOf:
- $ref: '#/components/schemas/OpenApiAccountBalanceDto'
requestId:
type: string
description: Request ID
BalanceTypeEnum:
type: string
description: Balance Type
enum:
- ca
- card
- budget
- va
- va_group
- cw
- commission
- pay
- pay_settle
- finance_profit_sys_flexible
- finance_profit_sys_fixed
- finance
- finance_center_customer_outflow_reserve
- finance_center_customer_fee_collection
- finance_center_system_fee_income
- red_packet_holding
AccountTxTypeEnum:
type: string
description: Business Type
enum:
- finance_subscribe
- finance_subscribe_cancel
- finance_redeem
- finance_flexible_interest
- finance_fixed_interest
- finance_fixed_auto_redeem
- admin_funds_in
- finance_center_pool_inject
- finance_center_customer_out
- finance_center_fee_income
- finance_center_customer_in
- va_payout
- system_refund
- payout
- scan_pay
- scan_pay_refund
- p2p_internal_transfer
- fx
- fx_ca_top_up
- fx_ca_transfer_out
- fx_person_transfer
- account_2_card
- card_2_account
- account_2_budget
- budget_2_account
- create_card_fee
- create_card_fee_refund
- physical_card_logistics_fee
- physical_card_logistics_fee_refund
- account_transfer_in
- account_transfer_out
- account_recharge
- va_2_ca
- ca_2_va
- va_2_va
- va_2_cw
- cw_2_va
- cw_2_ca
- ca_2_cw
- cw_2_card
- card_2_cw
- activity_reward
- system_account_transfer_in
- system_account_transfer_out
- p2p_internal_transfer_in
- p2p_internal_transfer_out
- company_desk_fee
TransactionActionEnum:
type: string
description: Transaction action
enum:
- in
- out
BaseTransactionOutput:
type: object
properties:
id:
type: string
description: ID
format: uuid
accountId:
type: string
description: Account ID
format: uuid
balanceId:
type: string
description: Balance ID
format: uuid
amount:
type: number
description: Transaction amount
format: double
fee:
type: number
description: Transaction fee
format: double
type:
type: string
enum:
- app_purchase
- app_refund
- app_withdrawal
- pay_deposit
- finance_subscribe
- finance_subscribe_cancel
- finance_redeem
- finance_flexible_interest
- finance_fixed_interest
- finance_fixed_auto_redeem
- admin_funds_in
- finance_center_pool_inject
- finance_center_customer_out
- finance_center_customer_in
- finance_center_fee_income
- account_2_card
- card_2_account
- account_2_budget
- budget_transfer_in_account
- create_card_fee
- create_card_fee_refund
- card_debit
- card_auth_fee
- card_refund
- card_refund_reversal
- card_reversal
- card_settlement_debit
- card_settlement_refund
- account_transfer_in
- account_transfer_out
- account_recharge
- account_recharge_rebate
- rebate_2_account
- internal_transfer
- crypto_deposit
- crypto_withdrawal
- crypto_exchange
- crypto_exchange_out
- crypto_exchange_in
- person_acquiring
- crypto_withdrawal_failed
- va_deposit
- va_refund
- va_payout
- cw_payout
- ca_payout
- commission_withdrawal
- physical_card_logistics_fee
- physical_card_logistics_fee_refund
- va_2_ca
- ca_2_va
- cw_2_va
- va_2_cw
- cw_2_ca
- ca_2_cw
- va_2_va_out
- va_2_va_in
- cw_2_budget
- budget_2_cw
- ca_2_ca
- cw_2_cw
- cw_2_card
- card_2_cw
- card_2_va
- va_2_card
- va_2_budget
- budget_2_va
- pay_order_success
- pay_order_refund
- pay_settlement_refund
- com_2_cw
- com_2_budget
- cw_2_cw_inner_out
- cw_2_cw_inner_in
- pay_2_cw
- p2p_internal_transfer
- p2p_internal_transfer_refund
- red_packet_send
- red_packet_receive
- red_packet_refund
- fx
- fx_ca_top_up
- fx_ca_transfer_out
- fx_person_transfer
- card_atm_fee_cnt
- deduct
- va_migration_available_to_frozen
- va_migration_frozen_to_available
- va_deduct
- deposit_fee
- convert_in
- convert_out
- convert_auto_refund
- activity_reward
- create_va_fee
- create_va_fee_refund
- scan_pay
- scan_pay_refund
- decline_fee
- withdrawal_fail
- system_refund
- vip_month_fee
- member_purchase
- company_desk_fee
- member_refund
- va_group_balance
description: Transaction type
subType:
type: string
enum:
- na
- auto_repayment
- auto_refund
- delete_card_refund
- append
- cw_2_va
- va_2_cw
- cw_2_card
- card_2_cw
- cw_2_budget
- budget_2_cw
- va_2_card
- card_2_va
- va_2_budget
- budget_2_va
- cw_2_cw
- va_2_va
- card_2_card
- budget_2_budget
- rebate_grant
- refund
- promotion_reward
- manual_compensation
- large_account_collection
- payment_request
- fee_refund
- caas_application
- api_access_fee_caas
- api_access_fee_baas
- api_access_fee_waas
- api_access_fee_paas
- api_monthly_fee_caas
- api_monthly_fee_baas
- api_monthly_fee_waas
- api_monthly_fee_paas
- deposit_fee
- card_open_fee
- channel_fee
- service_fee
- penalty
- offline_payment
- adjustment
- other
description: Transaction sub type
currency:
type: string
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
description: Currency
status:
type: string
enum:
- completed
- pending
- failed
description: Status
operationType:
type: string
enum:
- credit
- debit
description: Operation type
beforeBalance:
type: number
description: Before balance
format: double
afterBalance:
type: number
description: After balance
format: double
extraData:
type: object
description: Extra data
transactionAt:
format: date-time
type: string
description: Transaction time
relationId:
type: string
description: Relation ID
format: uuid
createdAt:
format: date-time
type: string
description: Created time
updatedAt:
format: date-time
type: string
description: Updated time
subTypeInfo:
type: object
description: Subtype display name
allOf:
- $ref: '#/components/schemas/TransactionTypeInfoOutput'
typeInfo:
type: object
description: Transaction type display name
allOf:
- $ref: '#/components/schemas/TransactionTypeInfoOutput'
action:
$ref: '#/components/schemas/TransactionActionEnum'
required:
- id
- accountId
- balanceId
- amount
- fee
- type
- subType
- currency
- status
- operationType
- beforeBalance
- afterBalance
- extraData
- transactionAt
- relationId
- createdAt
- updatedAt
- subTypeInfo
- typeInfo
- action
TransactionProcessStatusEnum:
type: string
description: Transaction Process Status
enum:
- completed
- pending
- failed
- pending_review
- pending_attachment
- pending_attachment_complement
- channel_pending_review
- main_account_approval
- main_account_approved
- main_account_rejected
- main_account_canceled
- kyt_abnormal_refund_pending
- kyt_abnormal_refund_completed
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
TransactionStatusEnum:
type: string
description: Transaction Status
enum:
- completed
- pending
- failed
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
OpenApiAccountBalanceDto:
type: object
properties:
id:
type: string
description: Balance ID
accountId:
type: string
description: Account ID
availableBalance:
type: number
description: Available Balance
frozenBalance:
type: number
description: frozen Balance
type:
$ref: '#/components/schemas/BalanceTypeEnum'
currency:
$ref: '#/components/schemas/CurrencyEnum'
required:
- id
- accountId
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