Get started
Quickstart
Make your first authenticated API request and follow an issuance operation.
Prepare your program
Sign in to the company workspace, submit your company verification and work with the platform team to activate an approved issuing program. Confirm your program currency, beneficiary countries and available capabilities.
- An active program linked to your approved company.
- Confirmed funds in that program wallet.
- A beneficiary whose identity status is
acceptedornot_required. - A server API key with the
operatorrole for issuance.
Create a key in API keys. Store the token in your server secret manager when it is first returned. A finance key handles funding and loads; an analyst key can read data. Use separate keys for these roles.
Read your active programs
Set DIGITALCARD_API_KEY on your server, then list the programs visible to that key. Keep the id and currency from the program you will use.
curl --fail-with-body 'https://api.digitalcard.technology/api/v1/programs?limit=50' \
-H "Authorization: Bearer $DIGITALCARD_API_KEY" const response = await fetch('https://api.digitalcard.technology/api/v1/programs?limit=50', {
headers: { Authorization: `Bearer ${process.env.DIGITALCARD_API_KEY}` },
});
const result = await response.json();
if (!response.ok) throw new Error(result.error.message);
const programs = result.items; import json
import os
from urllib.request import Request, urlopen
request = Request(
'https://api.digitalcard.technology/api/v1/programs?limit=50',
headers={'Authorization': 'Bearer ' + os.environ['DIGITALCARD_API_KEY']},
)
with urlopen(request) as response:
programs = json.load(response)['items'] Request a funded card
The following request uses an EUR program and an already verified beneficiary. 10000 represents EUR 100.00. Replace the identifiers with records from your company.
Create and persist the idempotency key before sending the request. If the response is lost, repeat the identical request using that same key.
curl --fail-with-body 'https://api.digitalcard.technology/api/v1/cards' \
-H "Authorization: Bearer $DIGITALCARD_API_KEY" \
-H "Idempotency-Key: $ISSUANCE_IDEMPOTENCY_KEY" \
-H 'Content-Type: application/json' \
--data '{
"programId": "<program_id>",
"recipientId": "<recipient_id>",
"label": "Team expenses",
"kind": "reloadable",
"purpose": "expense",
"amount": 10000,
"currency": "EUR"
}' Follow the operation
The response contains the new card id and a durable operationId. Save both. Read GET /operations?programId=<program_id>&kind=issue and find that operation. Follow cursors if it is outside the current page.
settled means the financial operation was confirmed. pending means the provider has not finalized it. reconciling requires resolving the original provider outcome; do not create another card request as a retry.
Register a webhook endpoint from an owner or administrator session to receive card.loaded after the initial card load settles. Read GET /cards for the current masked card metadata and available balance.
Authentication & access ↗
Server API keys, host-bound sessions and company permissions.