DogPay Card Holder API

The Card Holder API from DogPay — 2 operation(s) for card holder.

GitHub OpenAPI

Operations 5

GET /open-api/v1/card-holders Get card holder list #
POST /open-api/v1/card-holders Create card holder #
PUT /open-api/v1/card-holders Update card holder #
DELETE /open-api/v1/card-holders Delete card holder #
POST /open-api/v1/card-holders/register/{id} Register card holder #

Specifications

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-card-holder-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-card-holder-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: CaaS Card Holder 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 Holder
paths:
  /open-api/v1/card-holders:
    get:
      operationId: OpenApiCardholderController_getCardHolderList
      summary: Get card holder 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: id
        required: false
        in: query
        description: Card Holder ID
        schema:
          type: string
      - name: label
        required: false
        in: query
        description: Card Holder Label (defaults to firstName + lastName)
        schema:
          minLength: 1
          maxLength: 100
          type: string
      - name: fullName
        required: false
        in: query
        description: Full Name
        schema:
          minLength: 1
          maxLength: 100
          type: string
      - name: callId
        required: false
        in: query
        description: API Caller ID (unique within the same business)
        schema:
          minLength: 5
          maxLength: 50
          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/CardHolderDto'
                            description: Data
                        required:
                        - list
                  required:
                  - data
                properties:
                  data:
                    properties:
                      list:
                        items:
                          $ref: '#/components/schemas/CardHolderDto'
                    allOf:
                    - $ref: '#/components/schemas/FetchPageOutput'
                    - $ref: '#/components/schemas/FetchPageOutput'
                    type: object
                type: object
      tags:
      - Card Holder
      description: 'Optional discovery step before preparation. Permission: card.holder.read. Reuse an owned holder where appropriate; local existence does not mean bank approval. Next: GET /cards/preparation with cardHolderId.'
    post:
      operationId: OpenApiCardholderController_createCardHolder
      summary: Create card holder
      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/OpenApiCreateCardHolderDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/ApiSuccessResponse'
                - $ref: '#/components/schemas/ApiSuccessResponse'
                - type: object
                  properties:
                    data:
                      $ref: '#/components/schemas/CardHolderDto'
                  required:
                  - data
                properties:
                  data:
                    $ref: '#/components/schemas/CardHolderDto'
                type: object
      tags:
      - Card Holder
      description: 'Create a local holder before preparation. Permission: card.holder.write. For c_015 enterprise holders, complete valid names, email, phone and calling code. Save the returned id as cardHolderId. Next: GET /cards/preparation; do not use the legacy register endpoint for this flow.'
    put:
      operationId: OpenApiCardholderController_updateCardHolder
      summary: Update card holder
      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/OpenApiUpdateCardHolderDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/ApiSuccessResponse'
                - $ref: '#/components/schemas/ApiSuccessResponse'
                - type: object
                  properties:
                    data:
                      $ref: '#/components/schemas/CardHolderDto'
                  required:
                  - data
                properties:
                  data:
                    $ref: '#/components/schemas/CardHolderDto'
                type: object
      tags:
      - Card Holder
      description: 'Permission: card.holder.write. Provide the local holder id in the body. Changes do not update bank-registered identity. Next: query preparation again. On 201190, preview bank details and restore the matching local identity or contact support.'
    delete:
      operationId: OpenApiCardholderController_deleteCardHolder
      summary: Delete card holder
      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/DeleteCardHolderDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiSuccessBooleanResponse'
      tags:
      - Card Holder
  /open-api/v1/card-holders/register/{id}:
    post:
      operationId: OpenApiCardholderController_registerCardHolder
      summary: Register card holder
      deprecated: true
      parameters:
      - name: id
        required: true
        in: path
        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
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RegisterCardHolderInput'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/ApiSuccessResponse'
                - $ref: '#/components/schemas/ApiSuccessResponse'
                - type: object
                  properties:
                    data:
                      $ref: '#/components/schemas/RegisterCardHolderOutput'
                  required:
                  - data
                properties:
                  data:
                    $ref: '#/components/schemas/RegisterCardHolderOutput'
                type: object
      tags:
      - Card Holder
components:
  schemas:
    RegisterCardHolderInput:
      type: object
      properties:
        channelId:
          type: string
          description: Card bin Id;Data from https://docs.dogpay.com/reference/openapicardcontroller_getcardsbins
    OpenApiUpdateCardHolderDto:
      type: object
      properties:
        id:
          type: string
          description: Cardholder ID
        label:
          type: string
          description: Cardholder Label (defaults to firstName + lastName)
          minLength: 1
          maxLength: 100
        firstName:
          type: string
          description: First Name
          minLength: 1
          maxLength: 50
        lastName:
          type: string
          description: Last Name
          minLength: 1
          maxLength: 50
        phoneCode:
          type: string
          description: Phone Number Area Code
        phoneNumber:
          type: string
          description: Phone Number; If not provided, need to provide email
        email:
          type: string
          description: 'Email; Notice: 1. If not provided, need to provide phone number; 2. When used for c_004 cards, the email must be unique'
        dateOfBirth:
          type: string
          description: dateOfBirth (YYYY-MM-DD)
        address:
          description: Cardholder Address (required for AVS verification in some scenarios)
          type: object
          allOf:
          - $ref: '#/components/schemas/AddressInputDto'
        callId:
          type: string
          description: API Caller ID (unique within the same business)
          maxLength: 50
          minLength: 5
      required:
      - id
      - firstName
      - lastName
      - address
    CardHolderDto:
      type: object
      properties:
        id:
          type: string
          description: Cardholder ID, required when querying or modifying cardholder information.
          minLength: 3
          maxLength: 100
        label:
          type: string
          description: Cardholder Label (defaults to firstName + lastName)
          minLength: 1
          maxLength: 100
        firstName:
          type: string
          description: First Name
          minLength: 1
          maxLength: 50
        lastName:
          type: string
          description: Last Name
          minLength: 1
          maxLength: 50
        phoneCode:
          type: string
          description: "Phone Number Area Code\n For c_012 card, this is required information."
        phoneNumber:
          type: string
          description: "Phone Number(required when email is not provided)\n For c_012 card, this is required information."
        email:
          type: string
          description: Email(required when phoneNumber is not provided)
        dateOfBirth:
          type: string
          description: dateOfBirth
        address:
          description: Cardholder Address (required for AVS verification in some scenarios)
          type: object
          allOf:
          - $ref: '#/components/schemas/AddressInputDto'
        createdAt:
          format: date-time
          type: string
          description: Created Date
        callId:
          type: string
          description: API Caller ID (unique within the same business)
          maxLength: 50
          minLength: 5
        cardHolderChannels:
          description: Cardholder Channels(Handle only when a co-branded card is used; ignore other cards.)
          type: array
          items:
            $ref: '#/components/schemas/OpenApiCardHolderChannelOutput'
        deleteAt:
          format: date-time
          type: string
          description: Delete Date
      required:
      - firstName
      - lastName
      - address
    RegisterCardHolderOutput:
      type: object
      properties:
        authUrl:
          type: string
          description: Auth url
      required:
      - authUrl
    OpenApiCreateCardHolderDto:
      type: object
      properties:
        id:
          type: string
          description: Cardholder ID, required when querying or modifying cardholder information.
        label:
          type: string
          description: Cardholder Label (defaults to firstName + lastName)
          minLength: 1
          maxLength: 100
        firstName:
          type: string
          description: First Name
          minLength: 1
          maxLength: 50
        lastName:
          type: string
          description: Last Name
          minLength: 1
          maxLength: 50
        phoneCode:
          type: string
          description: "Phone Number Area Code\n For c_012 card, this is required information."
        phoneNumber:
          type: string
          description: "Phone Number; If not provided, need to provide email.\n For c_012 card, this is required information."
        email:
          type: string
          description: 'Email; Notice: 1. If not provided, need to provide phone number; 2. When used for c_004 cards, the email must be unique'
        dateOfBirth:
          type: string
          description: dateOfBirth (YYYY-MM-DD)
        address:
          description: Cardholder Address (required for AVS verification in some scenarios)
          type: object
          allOf:
          - $ref: '#/components/schemas/AddressInputDto'
        callId:
          type: string
          description: API Caller ID (unique within the same business)
          maxLength: 50
          minLength: 5
      required:
      - firstName
      - lastName
      - address
    BaseReviewEnum:
      type: string
      description: Customer status
      enum:
      - active
      - inactive
      - pending
    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
    OpenApiCardHolderChannelOutput:
      type: object
      properties:
        id:
          type: string
          description: Cardholder Channel ID
        cardHolderId:
          type: string
          description: Cardholder ID
        status:
          $ref: '#/components/schemas/BaseReviewEnum'
        channel:
          type: string
          description: Cardholder Channel
      required:
      - id
      - cardHolderId
      - status
      - channel
    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
    DeleteCardHolderDto:
      type: object
      properties:
        id:
          type: string
          description: Delete Card Holder
      required:
      - id
    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