DogPay Card Preparation API

The Card Preparation API from DogPay — 4 operation(s) for card preparation.

GitHub OpenAPI

Operations 4

GET /open-api/v1/cards/preparation Get card preparation #
POST /open-api/v1/cards/preparation/files Upload preparation files #
POST /open-api/v1/cards/preparation/form-url Get preparation form URL #
POST /open-api/v1/cards/preparation/submit Submit card preparation #

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-preparation-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-preparation-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: CaaS Card Preparation 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:


# --- truncated at 32 KB (46 KB total) ---
# Full source: https://artifacts.apis.io/dogpay-com/openapi/dogpay-com-card-preparation-api-openapi.yml