DogPay Budget API
The Budget API from DogPay — 4 operation(s) for budget.
The Budget API from DogPay — 4 operation(s) for budget.
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-budget-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 Budget 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: Budget
paths:
/open-api/v1/share:
post:
operationId: OpenApiBudgetController_createBudget
summary: Create a new budget
description: ''
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/OpenApiCreateBudgetDto'
responses:
'200':
description: ''
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/OpenApiBudgetOutput'
- $ref: '#/components/schemas/OpenApiBudgetOutput'
- $ref: '#/components/schemas/ApiSuccessResponse'
- type: object
properties:
data:
$ref: '#/components/schemas/OpenApiBudgetOutput'
required:
- data
type: object
tags:
- Budget
put:
operationId: OpenApiBudgetController_updateBudget
summary: Update budget
description: ''
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/UpdateBudgetDto'
responses:
'200':
description: ''
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/OpenApiBudgetOutput'
- $ref: '#/components/schemas/OpenApiBudgetOutput'
- $ref: '#/components/schemas/ApiSuccessResponse'
- type: object
properties:
data:
$ref: '#/components/schemas/OpenApiBudgetOutput'
required:
- data
type: object
tags:
- Budget
get:
operationId: OpenApiBudgetController_getAllBudget
summary: Get all budgets
description: ''
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: callId
required: false
in: query
description: API Caller ID (unique within the same business)
schema:
minLength: 10
maxLength: 50
type: string
- name: id
required: false
in: query
description: Budget ID
schema:
minLength: 36
maxLength: 36
type: string
- name: name
required: false
in: query
description: Budget name
schema:
maxLength: 100
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/OpenApiBudgetOutput'
description: Data
required:
- list
required:
- data
properties:
data:
properties:
list:
items:
$ref: '#/components/schemas/OpenApiBudgetOutput'
allOf:
- $ref: '#/components/schemas/FetchPageOutput'
- $ref: '#/components/schemas/FetchPageOutput'
type: object
type: object
tags:
- Budget
delete:
operationId: OpenApiBudgetController_deleteBudgetV2
summary: Delete budget
description: ''
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/CommonIdDto'
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ApiSuccessBooleanResponse'
tags:
- Budget
/open-api/v1/share/frozen:
put:
operationId: OpenApiBudgetController_frozenBudget
summary: Freeze budget
description: ''
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/CommonIdDto'
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ApiSuccessBooleanResponse'
tags:
- Budget
delete:
operationId: OpenApiBudgetController_deleteBudget
summary: Delete budget
description: ''
deprecated: true
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/CommonIdDto'
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ApiSuccessBooleanResponse'
tags:
- Budget
/open-api/v1/share/trx:
get:
operationId: OpenApiBudgetController_getBudgetTrxList
summary: Budget 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:
type: object
allOf:
- $ref: '#/components/schemas/BudgetTxTypeEnum'
items:
$ref: '#/components/schemas/BudgetTxTypeEnum'
- name: statusList
required: false
in: query
description: Transaction Status
schema:
type: object
allOf:
- $ref: '#/components/schemas/TransactionStatusEnum'
items:
$ref: '#/components/schemas/TransactionStatusEnum'
- 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: budgetId
required: false
in: query
description: Budget ID
schema:
type: string
- name: orderNum
required: false
in: query
description: Order Number
schema:
type: string
- name: budgetName
required: false
in: query
description: Budget name
schema:
type: string
- name: dgp-entity-id
in: header
description: Only white-label customer need to use it
required: false
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: 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/BudgetTransactionDto'
description: Data
required:
- list
required:
- data
properties:
data:
properties:
list:
items:
$ref: '#/components/schemas/BudgetTransactionDto'
allOf:
- $ref: '#/components/schemas/FetchPageOutput'
- $ref: '#/components/schemas/FetchPageOutput'
type: object
type: object
tags:
- Budget
/open-api/v1/share/unfrozen:
put:
operationId: OpenApiBudgetController_unFrozenBudget
summary: Unfreeze budget
description: ''
parameters: []
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CommonIdDto'
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ApiSuccessBooleanResponse'
tags:
- Budget
components:
schemas:
OpenApiBudgetOutput:
type: object
properties:
id:
type: string
description: Budget ID
name:
type: string
description: Budget Name
callId:
type: string
description: Caller ID
createAt:
type: string
description: Created Time
status:
$ref: '#/components/schemas/BudgetStatusEnum'
balance:
type: string
description: Budget Balance
totalLimit:
type: string
description: Total Set Budget Amount
totalCost:
type: string
description: Total consumption amount. Currently always returns "0" (statistics not enabled yet).
totalCnt:
type: string
description: Total consumption count. Currently always returns "0" (statistics not enabled yet).
totalFee:
type: string
description: Total fee amount. Currently always returns "0" (statistics not enabled yet).
required:
- id
- name
- balance
- totalLimit
- totalCost
- totalCnt
- totalFee
OpenApiCreateBudgetDto:
type: object
properties:
callId:
type: string
description: API Caller ID (unique within the same business)
maxLength: 50
minLength: 10
name:
type: string
description: Budget Name
minLength: 1
maxLength: 50
amount:
type: number
description: Budget Amount
minimum: 0
maximum: 99999999
required:
- callId
- name
- amount
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
TransactionSubTypeEnum:
type: string
description: Transaction subtype
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
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
BudgetStatusEnum:
type: string
description: Budget Status
enum:
- active
- deleted
- frozen
BudgetTxTypeEnum:
type: string
enum:
- finance_subscribe
- finance_subscribe_cancel
- finance_redeem
- finance_flexible_interest
- finance_fixed_interest
- finance_fixed_auto_redeem
- admin_funds_in
- va_payout
- p2p_internal_transfer
- fx
- fx_ca_top_up
- fx_ca_transfer_out
- fx_person_transfer
- transfer_in
- transfer_out
- create_card_fee
- budget_2_cw
- cw_2_budget
- com_2_budget
- physical_card_logistics_fee
- physical_card_logistics_fee_refund
- create_card_fee_refund
- budget_2_va
- activity_reward
- va_2_budget
- scan_pay
- scan_pay_refund
TransactionBaseEnum:
type: string
description: Basic transaction operation type
enum:
- credit
- debit
TransactionStatusEnum:
type: string
description: Transaction Status
enum:
- completed
- pending
- failed
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
CommonIdDto:
type: object
properties:
id:
type: string
description: ID
required:
- id
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
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
BudgetTransactionDto:
type: object
properties:
id:
type: string
description: Transaction ID
accountId:
type: string
description: Account ID
cardId:
type: string
description: Card ID
orderNum:
type: string
description: Order Number
transactionId:
type: string
description: Payment System ID
deprecated: true
currency:
$ref: '#/components/schemas/CurrencyEnum'
fee:
type: number
description: Transaction Fee
amount:
type: number
description: Transaction Amount
type:
type: string
description: Business Type
status:
type: string
description: Transaction Status
createAt:
format: date-time
type: string
description: Transaction Creation Time
transactionAt:
format: date-time
type: string
description: Transaction Time
completeAt:
format: date-time
type: string
description: Transaction Completion Time
budgetName:
type: string
description: Budget Name
budgetId:
type: string
description: Budget ID
batchId:
type: string
description: Batch ID
customerNotes:
type:
- string
- 'null'
description: Fuzzy search for customer Notes
operationType:
$ref: '#/components/schemas/TransactionBaseEnum'
callId:
type: string
description: API Caller ID (unique within the same business)
subType:
$ref: '#/components/schemas/TransactionSubTypeEnum'
typeInfo:
description: Transaction type display name (main table transaction.type → TransactionTypeEnumMap, same shape as BaseTransactionOutput.typeInfo)
allOf:
- $ref: '#/components/schemas/TransactionTypeInfoOutput'
subTypeInfo:
description: Transaction subtype display name (main table transaction.sub_type → TransactionSubTypeEnumMap, same shape as BaseTransactionOutput.subTypeInfo)
allOf:
- $ref: '#/components/schemas/TransactionTypeInfoOutput'
required:
- id
- accountId
- cardId
- orderNum
- transactionId
- currency
- fee
- amount
- type
- status
- createAt
- transactionAt
- completeAt
- budgetId
- batchId
UpdateBudgetDto:
type: object
properties:
callId:
type: string
description: API Caller ID (unique within the same business)
maxLength: 50
minLength: 10
id:
type: string
description: Budget ID
maxLength: 36
minLength: 36
name:
type: string
description: Budget Name
minLength: 3
maxLength: 100
amount:
type: number
description: Operation Amount
minimum: 0.01
maximum: 99999999
type:
type: string
description: Operation Type, add | reduce
required:
- id
- type
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