DogPay Spending Limits API

The Spending Limits API from DogPay — 1 operation(s) for spending limits.

GitHub OpenAPI

Operations 2

GET /open-api/v1/cards/spending/limit Get card spending limit #
PUT /open-api/v1/cards/spending/limit Update card spending limit #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/dogpay-com:dogpay-com-spending-limits-api"
All apis
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.

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.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

dogpay-com-spending-limits-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: CaaS Spending Limits 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: Spending Limits
paths:
  /open-api/v1/cards/spending/limit:
    get:
      operationId: OpenApiCardController_getCardSpendingLimit
      summary: Get card spending limit
      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/CardSpendingLimitOutputV2'
                  required:
                  - data
                properties:
                  data:
                    $ref: '#/components/schemas/CardSpendingLimitOutputV2'
                type: object
      tags:
      - Spending Limits
    put:
      operationId: OpenApiCardController_updateCardSpendingLimit
      summary: Update card spending limit
      description: For fields that don't require updates, simply omit them from the request payload. Only include the fields you wish to modify.
      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/OpenApiUpdateCardSpendingLimitInput'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiSuccessBooleanResponse'
      tags:
      - Spending Limits
components:
  schemas:
    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
    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
    CardSpendingLimitOutputV2:
      type: object
      properties:
        limit:
          type: number
          description: Total cumulative spending limit (0 means no limit)
        netConsumption:
          type: number
          description: Net consumption
        surplusLimit:
          type: number
          description: Surplus limit
        consumptionCount:
          type: number
          description: all Consumption count
        singleAmountLimit:
          type: number
          description: Single transaction amount limit (0 means no limit)
          default: 0
        dayAmountLimit:
          type: number
          description: Daily cumulative spending limit (0 means no limit)
          default: 0
        weekAmountLimit:
          type: number
          description: Weekly cumulative spending limit (0 means no limit)
          default: 0
        monthAmountLimit:
          type: number
          description: Monthly cumulative spending limit (0 means no limit)
          default: 0
        dayConsumption:
          type: number
          description: Daily consumption
          default: 0
        weekConsumption:
          type: number
          description: Weekly consumption
          default: 0
        monthConsumption:
          type: number
          description: Monthly consumption
          default: 0
        dayConsumptionCount:
          type: number
          description: Daily consumption count
          default: 0
        weekConsumptionCount:
          type: number
          description: Weekly consumption count
          default: 0
        monthConsumptionCount:
          type: number
          description: Monthly consumption count
          default: 0
      required:
      - limit
      - netConsumption
      - surplusLimit
      - consumptionCount
      - singleAmountLimit
      - dayAmountLimit
      - weekAmountLimit
      - monthAmountLimit
      - dayConsumption
      - weekConsumption
      - monthConsumption
      - dayConsumptionCount
      - weekConsumptionCount
      - monthConsumptionCount
    OpenApiUpdateCardSpendingLimitInput:
      type: object
      properties:
        cardId:
          type: string
          description: card id
        singleAmountLimit:
          type: number
          description: Single transaction amount limit (0 means no limit)
        dayAmountLimit:
          type: number
          description: Daily cumulative spending limit (0 means no limit)
        weekAmountLimit:
          type: number
          description: Weekly cumulative spending limit (0 means no limit)
        monthAmountLimit:
          type: number
          description: Monthly cumulative spending limit (0 means no limit)
        velocityAmountLimit:
          type: number
          minimum: -1000000
          maximum: 1000000
          description: Total cumulative spending limit. Negative values are supported only on eligible real-time authorization cards and must be at least the current net consumption. 0 retains the legacy unlimited meaning; an existing negative limit cannot be changed to 0. Omit to keep the current value.
      required:
      - cardId
  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