/ Developers API v1Open workspace

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.

GET/api/v1/cardholder/profile

Read beneficiary profile

Returns the profile for the beneficiary session and program.

AccessBeneficiary session

Success: 200 · Request completed.

OpenAPI operation and schemas
OpenAPI 3.1
{
  "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."
        }
      }
    }
  ]
}
GET/api/v1/cardholder/agreement

Read program agreements

Returns the actual agreement and privacy URLs configured for the issuing program.

AccessBeneficiary session

Success: 200 · Request completed.

OpenAPI operation and schemas
OpenAPI 3.1
{
  "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."
        }
      }
    }
  ]
}
GET/api/v1/cardholder/verification

Read 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
OpenAPI 3.1
{
  "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."
        }
      }
    }
  ]
}
PUT/api/v1/cardholder/identity/draft

Save beneficiary identity draft

Saves identity information with the current case version before the beneficiary submits the declaration and actual program agreements.

AccessBeneficiary session

Body fieldTypeDetails
versionrequiredintegerMinimum: 0; maximum: 9007199254740991.
profilerequiredobjectObject. Expand the request schema for nested fields.

Success: 200 · Request completed.

OpenAPI operation and schemas
OpenAPI 3.1
{
  "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"
          ]
        }
      }
    }
  }
}
POST/api/v1/cardholder/identity

Submit 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 fieldTypeDetails
versionrequiredinteger
declarationAcceptedrequiredboolean
termsAcceptedrequiredboolean

Success: 202 · Accepted for asynchronous processing. Read the operation for the confirmed provider outcome.

OpenAPI operation and schemas
OpenAPI 3.1
{
  "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"
          ]
        }
      }
    }
  }
}
POST/api/v1/cardholder/verification/withdraw

Withdraw beneficiary verification

Withdraws an undecided beneficiary application with a reason and the current case version.

AccessBeneficiary session

Body fieldTypeDetails
versionrequiredinteger
reasonrequiredstringLength: 5 to 6000.

Success: 200 · Request completed.

OpenAPI operation and schemas
OpenAPI 3.1
{
  "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"
          ]
        }
      }
    }
  }
}
POST/api/v1/cardholder/cards/{id}/reveal-challenge

Request 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
OpenAPI 3.1
{
  "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": {}
        }
      }
    }
  }
}
GET/api/v1/cardholder/cards/{id}/presentation

Read presentation configuration

Returns the issuing adapter and display environment without PAN or CVV.

AccessBeneficiary session

Success: 200 · Request completed.

OpenAPI operation and schemas
OpenAPI 3.1
{
  "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."
        }
      }
    }
  ]
}
POST/api/v1/cardholder/cards/{id}/reveal

Create 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 fieldTypeDetails
challengeIdrequiredstring
coderequiredstring
dpopProofstring

Success: 200 · Request completed.

OpenAPI operation and schemas
OpenAPI 3.1
{
  "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"
          ]
        }
      }
    }
  }
}
GET/api/v1/cardholder/notifications

List beneficiary notifications

Returns delivery metadata for the authenticated beneficiary and program.

AccessBeneficiary session

Success: 200 · Request completed.

OpenAPI operation and schemas
OpenAPI 3.1
{
  "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."
        }
      }
    }
  ]
}

Search documentation

Use ↑ ↓ to navigate · Enter to open