API reference
Beneficiary portal
Request fields, access rules and response contracts for beneficiary portal.
All endpoint paths include /api/v1. For protected writes, persist a stable idempotency key before making the request. Use the portal hostname and session described in each endpoint access rule.
/api/v1/cardholder/profileRead beneficiary profile
Returns the profile for the beneficiary session and program.
AccessBeneficiary session
Success: 200 · Request completed.
OpenAPI operation and schemas
{
"operationId": "get__api_v1_cardholder_profile",
"tags": [
"Beneficiary portal"
],
"summary": "Read beneficiary profile",
"description": "Returns the profile for the beneficiary session and program.\n\nAccess: Beneficiary session",
"security": [
{
"session": []
}
],
"parameters": [
{
"name": "program",
"in": "query",
"description": "Required on card.digitalcard.technology; use the program identifier from the invitation.",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Successful response"
},
"401": {
"$ref": "#/components/responses/Unauthorized"
},
"403": {
"$ref": "#/components/responses/Forbidden"
},
"409": {
"$ref": "#/components/responses/Conflict"
},
"422": {
"$ref": "#/components/responses/Invalid"
},
"429": {
"$ref": "#/components/responses/RateLimited"
},
"500": {
"$ref": "#/components/responses/Failed"
}
},
"servers": [
{
"url": "https://{beneficiaryDomain}",
"variables": {
"beneficiaryDomain": {
"default": "card.digitalcard.technology",
"description": "The verified beneficiary hostname for the program."
}
}
}
]
} /api/v1/cardholder/agreementRead program agreements
Returns the actual agreement and privacy URLs configured for the issuing program.
AccessBeneficiary session
Success: 200 · Request completed.
OpenAPI operation and schemas
{
"operationId": "get__api_v1_cardholder_agreement",
"tags": [
"Beneficiary portal"
],
"summary": "Read program agreements",
"description": "Returns the actual agreement and privacy URLs configured for the issuing program.\n\nAccess: Beneficiary session",
"security": [
{
"session": []
}
],
"parameters": [
{
"name": "program",
"in": "query",
"description": "Required on card.digitalcard.technology; use the program identifier from the invitation.",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Successful response"
},
"401": {
"$ref": "#/components/responses/Unauthorized"
},
"403": {
"$ref": "#/components/responses/Forbidden"
},
"409": {
"$ref": "#/components/responses/Conflict"
},
"422": {
"$ref": "#/components/responses/Invalid"
},
"429": {
"$ref": "#/components/responses/RateLimited"
},
"500": {
"$ref": "#/components/responses/Failed"
}
},
"servers": [
{
"url": "https://{beneficiaryDomain}",
"variables": {
"beneficiaryDomain": {
"default": "card.digitalcard.technology",
"description": "The verified beneficiary hostname for the program."
}
}
}
]
} /api/v1/cardholder/verificationRead beneficiary verification workspace
Returns the beneficiary case, encrypted-profile projection, program-specific requirements, visible messages and submission state within the current program.
AccessBeneficiary session
Success: 200 · Request completed.
OpenAPI operation and schemas
{
"operationId": "get__api_v1_cardholder_verification",
"tags": [
"Beneficiary portal"
],
"summary": "Read beneficiary verification workspace",
"description": "Returns the beneficiary case, encrypted-profile projection, program-specific requirements, visible messages and submission state within the current program.\n\nAccess: Beneficiary session",
"security": [
{
"session": []
}
],
"parameters": [
{
"name": "program",
"in": "query",
"description": "Required on card.digitalcard.technology; use the program identifier from the invitation.",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Successful response"
},
"401": {
"$ref": "#/components/responses/Unauthorized"
},
"403": {
"$ref": "#/components/responses/Forbidden"
},
"409": {
"$ref": "#/components/responses/Conflict"
},
"422": {
"$ref": "#/components/responses/Invalid"
},
"429": {
"$ref": "#/components/responses/RateLimited"
},
"500": {
"$ref": "#/components/responses/Failed"
}
},
"servers": [
{
"url": "https://{beneficiaryDomain}",
"variables": {
"beneficiaryDomain": {
"default": "card.digitalcard.technology",
"description": "The verified beneficiary hostname for the program."
}
}
}
]
} /api/v1/cardholder/identity/draftSave beneficiary identity draft
Saves identity information with the current case version before the beneficiary submits the declaration and actual program agreements.
AccessBeneficiary session
| Body field | Type | Details |
|---|---|---|
versionrequired | integer | Minimum: 0; maximum: 9007199254740991. |
profilerequired | object | Object. Expand the request schema for nested fields. |
Success: 200 · Request completed.
OpenAPI operation and schemas
{
"operationId": "put__api_v1_cardholder_identity_draft",
"tags": [
"Beneficiary portal"
],
"summary": "Save beneficiary identity draft",
"description": "Saves identity information with the current case version before the beneficiary submits the declaration and actual program agreements.\n\nAccess: Beneficiary session",
"security": [
{
"session": []
}
],
"parameters": [
{
"name": "Idempotency-Key",
"in": "header",
"required": true,
"description": "One stable key per intended write. Reuse the key and identical body when recovering a transport failure.",
"schema": {
"type": "string",
"minLength": 12,
"maxLength": 128,
"pattern": "^[A-Za-z0-9_.:-]+$"
}
},
{
"name": "program",
"in": "query",
"description": "Required on card.digitalcard.technology; use the program identifier from the invitation.",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Successful response"
},
"401": {
"$ref": "#/components/responses/Unauthorized"
},
"403": {
"$ref": "#/components/responses/Forbidden"
},
"409": {
"$ref": "#/components/responses/Conflict"
},
"422": {
"$ref": "#/components/responses/Invalid"
},
"429": {
"$ref": "#/components/responses/RateLimited"
},
"500": {
"$ref": "#/components/responses/Failed"
}
},
"servers": [
{
"url": "https://{beneficiaryDomain}",
"variables": {
"beneficiaryDomain": {
"default": "card.digitalcard.technology",
"description": "The verified beneficiary hostname for the program."
}
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"version": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"profile": {
"type": "object",
"properties": {
"dateOfBirth": {
"anyOf": [
{
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
},
{
"type": "string",
"const": ""
}
]
},
"phoneNumber": {
"type": "string",
"maxLength": 30
},
"nationality": {
"anyOf": [
{
"type": "string",
"pattern": "^[A-Z]{2}$"
},
{
"type": "string",
"const": ""
}
]
},
"identificationType": {
"type": "string",
"enum": [
"passport",
"national_id",
"drivers_license",
"tax_id",
""
]
},
"governmentId": {
"type": "string",
"maxLength": 200
},
"identificationCountry": {
"anyOf": [
{
"type": "string",
"pattern": "^[A-Z]{2}$"
},
{
"type": "string",
"const": ""
}
]
},
"identificationExpiry": {
"anyOf": [
{
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
},
{
"type": "string",
"const": ""
}
]
},
"address": {
"type": "object",
"properties": {
"line1": {
"type": "string",
"maxLength": 200
},
"line2": {
"type": "string",
"maxLength": 200
},
"city": {
"type": "string",
"maxLength": 200
},
"region": {
"type": "string",
"maxLength": 200
},
"postalCode": {
"type": "string",
"maxLength": 200
},
"country": {
"anyOf": [
{
"type": "string",
"pattern": "^[A-Z]{2}$"
},
{
"type": "string",
"const": ""
}
]
}
},
"required": [
"line1",
"line2",
"city",
"region",
"postalCode",
"country"
]
},
"occupation": {
"type": "string",
"maxLength": 200
},
"sourceOfFunds": {
"type": "string",
"maxLength": 6000
},
"politicallyExposed": {
"type": "string",
"enum": [
"yes",
"no",
""
]
},
"pepDetails": {
"type": "string",
"maxLength": 6000
},
"declarationName": {
"type": "string",
"maxLength": 200
}
},
"required": [
"dateOfBirth",
"phoneNumber",
"nationality",
"identificationType",
"governmentId",
"identificationCountry",
"identificationExpiry",
"address",
"occupation",
"sourceOfFunds",
"politicallyExposed",
"pepDetails",
"declarationName"
]
}
},
"required": [
"version",
"profile"
]
}
}
}
}
} /api/v1/cardholder/identitySubmit beneficiary identity
Submits a complete identity revision and consent for the approved program verification policy. Provider onboarding and external verification are tracked separately from draft completion.
AccessBeneficiary session
| Body field | Type | Details |
|---|---|---|
versionrequired | integer | |
declarationAcceptedrequired | boolean | |
termsAcceptedrequired | boolean |
Success: 202 · Accepted for asynchronous processing. Read the operation for the confirmed provider outcome.
OpenAPI operation and schemas
{
"operationId": "post__api_v1_cardholder_identity",
"tags": [
"Beneficiary portal"
],
"summary": "Submit beneficiary identity",
"description": "Submits a complete identity revision and consent for the approved program verification policy. Provider onboarding and external verification are tracked separately from draft completion.\n\nAccess: Beneficiary session",
"security": [
{
"session": []
}
],
"parameters": [
{
"name": "Idempotency-Key",
"in": "header",
"required": true,
"description": "One stable key per intended write. Reuse the key and identical body when recovering a transport failure.",
"schema": {
"type": "string",
"minLength": 12,
"maxLength": 128,
"pattern": "^[A-Za-z0-9_.:-]+$"
}
},
{
"name": "program",
"in": "query",
"description": "Required on card.digitalcard.technology; use the program identifier from the invitation.",
"schema": {
"type": "string"
}
}
],
"responses": {
"202": {
"description": "Accepted for asynchronous processing; inspect the operation status."
},
"401": {
"$ref": "#/components/responses/Unauthorized"
},
"403": {
"$ref": "#/components/responses/Forbidden"
},
"409": {
"$ref": "#/components/responses/Conflict"
},
"422": {
"$ref": "#/components/responses/Invalid"
},
"429": {
"$ref": "#/components/responses/RateLimited"
},
"500": {
"$ref": "#/components/responses/Failed"
}
},
"servers": [
{
"url": "https://{beneficiaryDomain}",
"variables": {
"beneficiaryDomain": {
"default": "card.digitalcard.technology",
"description": "The verified beneficiary hostname for the program."
}
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"version": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"declarationAccepted": {
"type": "boolean",
"const": true
},
"termsAccepted": {
"type": "boolean",
"const": true
}
},
"required": [
"version",
"declarationAccepted",
"termsAccepted"
]
}
}
}
}
} /api/v1/cardholder/verification/withdrawWithdraw beneficiary verification
Withdraws an undecided beneficiary application with a reason and the current case version.
AccessBeneficiary session
| Body field | Type | Details |
|---|---|---|
versionrequired | integer | |
reasonrequired | string | Length: 5 to 6000. |
Success: 200 · Request completed.
OpenAPI operation and schemas
{
"operationId": "post__api_v1_cardholder_verification_withdraw",
"tags": [
"Beneficiary portal"
],
"summary": "Withdraw beneficiary verification",
"description": "Withdraws an undecided beneficiary application with a reason and the current case version.\n\nAccess: Beneficiary session",
"security": [
{
"session": []
}
],
"parameters": [
{
"name": "Idempotency-Key",
"in": "header",
"required": true,
"description": "One stable key per intended write. Reuse the key and identical body when recovering a transport failure.",
"schema": {
"type": "string",
"minLength": 12,
"maxLength": 128,
"pattern": "^[A-Za-z0-9_.:-]+$"
}
},
{
"name": "program",
"in": "query",
"description": "Required on card.digitalcard.technology; use the program identifier from the invitation.",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Successful response"
},
"401": {
"$ref": "#/components/responses/Unauthorized"
},
"403": {
"$ref": "#/components/responses/Forbidden"
},
"409": {
"$ref": "#/components/responses/Conflict"
},
"422": {
"$ref": "#/components/responses/Invalid"
},
"429": {
"$ref": "#/components/responses/RateLimited"
},
"500": {
"$ref": "#/components/responses/Failed"
}
},
"servers": [
{
"url": "https://{beneficiaryDomain}",
"variables": {
"beneficiaryDomain": {
"default": "card.digitalcard.technology",
"description": "The verified beneficiary hostname for the program."
}
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"version": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"reason": {
"type": "string",
"minLength": 5,
"maxLength": 6000
}
},
"required": [
"version",
"reason"
]
}
}
}
}
} /api/v1/cardholder/cards/{id}/reveal-challengeRequest card disclosure code
Emails a fresh one-use code for sensitive card display.
AccessBeneficiary session
Success: 202 · Accepted for asynchronous processing. Read the operation for the confirmed provider outcome.
OpenAPI operation and schemas
{
"operationId": "post__api_v1_cardholder_cards__id__reveal_challenge",
"tags": [
"Beneficiary portal"
],
"summary": "Request card disclosure code",
"description": "Emails a fresh one-use code for sensitive card display.\n\nAccess: Beneficiary session",
"security": [
{
"session": []
}
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "Idempotency-Key",
"in": "header",
"required": true,
"description": "One stable key per intended write. Reuse the key and identical body when recovering a transport failure.",
"schema": {
"type": "string",
"minLength": 12,
"maxLength": 128,
"pattern": "^[A-Za-z0-9_.:-]+$"
}
},
{
"name": "program",
"in": "query",
"description": "Required on card.digitalcard.technology; use the program identifier from the invitation.",
"schema": {
"type": "string"
}
}
],
"responses": {
"202": {
"description": "Accepted for asynchronous processing; inspect the operation status."
},
"401": {
"$ref": "#/components/responses/Unauthorized"
},
"403": {
"$ref": "#/components/responses/Forbidden"
},
"409": {
"$ref": "#/components/responses/Conflict"
},
"422": {
"$ref": "#/components/responses/Invalid"
},
"429": {
"$ref": "#/components/responses/RateLimited"
},
"500": {
"$ref": "#/components/responses/Failed"
}
},
"servers": [
{
"url": "https://{beneficiaryDomain}",
"variables": {
"beneficiaryDomain": {
"default": "card.digitalcard.technology",
"description": "The verified beneficiary hostname for the program."
}
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {}
}
}
}
}
} /api/v1/cardholder/cards/{id}/presentationRead presentation configuration
Returns the issuing adapter and display environment without PAN or CVV.
AccessBeneficiary session
Success: 200 · Request completed.
OpenAPI operation and schemas
{
"operationId": "get__api_v1_cardholder_cards__id__presentation",
"tags": [
"Beneficiary portal"
],
"summary": "Read presentation configuration",
"description": "Returns the issuing adapter and display environment without PAN or CVV.\n\nAccess: Beneficiary session",
"security": [
{
"session": []
}
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "program",
"in": "query",
"description": "Required on card.digitalcard.technology; use the program identifier from the invitation.",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Successful response"
},
"401": {
"$ref": "#/components/responses/Unauthorized"
},
"403": {
"$ref": "#/components/responses/Forbidden"
},
"409": {
"$ref": "#/components/responses/Conflict"
},
"422": {
"$ref": "#/components/responses/Invalid"
},
"429": {
"$ref": "#/components/responses/RateLimited"
},
"500": {
"$ref": "#/components/responses/Failed"
}
},
"servers": [
{
"url": "https://{beneficiaryDomain}",
"variables": {
"beneficiaryDomain": {
"default": "card.digitalcard.technology",
"description": "The verified beneficiary hostname for the program."
}
}
}
]
} /api/v1/cardholder/cards/{id}/revealCreate a secure disclosure session
Consumes the disclosure challenge and obtains a provider display session or ephemeral card details. Sensitive responses use no-store and are never replayed from the idempotency cache.
AccessBeneficiary session
| Body field | Type | Details |
|---|---|---|
challengeIdrequired | string | |
coderequired | string | |
dpopProof | string |
Success: 200 · Request completed.
OpenAPI operation and schemas
{
"operationId": "post__api_v1_cardholder_cards__id__reveal",
"tags": [
"Beneficiary portal"
],
"summary": "Create a secure disclosure session",
"description": "Consumes the disclosure challenge and obtains a provider display session or ephemeral card details. Sensitive responses use no-store and are never replayed from the idempotency cache.\n\nAccess: Beneficiary session",
"security": [
{
"session": []
}
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "Idempotency-Key",
"in": "header",
"required": true,
"description": "One stable key per intended write. Reuse the key and identical body when recovering a transport failure.",
"schema": {
"type": "string",
"minLength": 12,
"maxLength": 128,
"pattern": "^[A-Za-z0-9_.:-]+$"
}
},
{
"name": "program",
"in": "query",
"description": "Required on card.digitalcard.technology; use the program identifier from the invitation.",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Successful response"
},
"401": {
"$ref": "#/components/responses/Unauthorized"
},
"403": {
"$ref": "#/components/responses/Forbidden"
},
"409": {
"$ref": "#/components/responses/Conflict"
},
"422": {
"$ref": "#/components/responses/Invalid"
},
"429": {
"$ref": "#/components/responses/RateLimited"
},
"500": {
"$ref": "#/components/responses/Failed"
}
},
"servers": [
{
"url": "https://{beneficiaryDomain}",
"variables": {
"beneficiaryDomain": {
"default": "card.digitalcard.technology",
"description": "The verified beneficiary hostname for the program."
}
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"challengeId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{12,100}$"
},
"code": {
"type": "string",
"pattern": "^\\d{6}$"
},
"dpopProof": {
"type": "string",
"maxLength": 20000
}
},
"required": [
"challengeId",
"code"
]
}
}
}
}
} /api/v1/cardholder/notificationsList beneficiary notifications
Returns delivery metadata for the authenticated beneficiary and program.
AccessBeneficiary session
Success: 200 · Request completed.
OpenAPI operation and schemas
{
"operationId": "get__api_v1_cardholder_notifications",
"tags": [
"Beneficiary portal"
],
"summary": "List beneficiary notifications",
"description": "Returns delivery metadata for the authenticated beneficiary and program.\n\nAccess: Beneficiary session",
"security": [
{
"session": []
}
],
"parameters": [
{
"name": "program",
"in": "query",
"description": "Required on card.digitalcard.technology; use the program identifier from the invitation.",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Successful response"
},
"401": {
"$ref": "#/components/responses/Unauthorized"
},
"403": {
"$ref": "#/components/responses/Forbidden"
},
"409": {
"$ref": "#/components/responses/Conflict"
},
"422": {
"$ref": "#/components/responses/Invalid"
},
"429": {
"$ref": "#/components/responses/RateLimited"
},
"500": {
"$ref": "#/components/responses/Failed"
}
},
"servers": [
{
"url": "https://{beneficiaryDomain}",
"variables": {
"beneficiaryDomain": {
"default": "card.digitalcard.technology",
"description": "The verified beneficiary hostname for the program."
}
}
}
]
}