/v1/create/credentialRegister a credential
OperationId: RssCreateCredential · RSS 1.11.260911 · PDF pages: 15, 16, 17, 18, 19
Source-derived; deployment remains unconfirmed. Sample inputs are for reading, not live submission.
Preconditions and authentication
Confirm provider/package, partner_code and originator_id; prepare registration data within consent scope. An issued credential is not yet required. Keep the Bearer token server-side; exclude tokens/SAD from frontend code and public logs.
| Header | Required | Meaning |
|---|---|---|
x-language | No | Response language. |
x-rp-id | No | RP-generated reference, distinct from service-generated x-billcode-id. |
Request · application/json
| Field | Type | Presence | Description |
|---|---|---|---|
provider | string | Required | RSS provider identifier; confirm deployment configuration. |
service_package_code | string | Required | Provider service package code. |
partner_code | string | Required | Code of the partner submitting the request. |
originator_id | string | Required | Identifier of the originating application. |
platform | string | Optional / source conditions | Originating channel: WEB or APP. enum: WEB, APP; default: WEB |
operation_mode | string | Optional / source conditions | S: Synchronous; A: asynchronous, default A in the RSS table. enum: S, A; default: A |
postback_url | string | Optional / source conditions | RP result receiver; confirm registration and sender verification. format: uri |
user_info | object | Required | |
user_info.citizen_pid | string | Required | Citizen personal identifier; never enter real data in the demo. |
user_info.full_name | string | Optional / source conditions | Full name when supplied. |
user_info.birth_date | string | Optional / source conditions | Birth date in the deployment format. |
user_info.phone | string | Optional / source conditions | Phone number when needed. |
user_info.email | string | Optional / source conditions | Email when needed. |
user_info.issuing_authority | string | Optional / source conditions | Citizen-ID issuing authority; optional. Format follows the deployment contract. |
user_info.date_of_issue | string | Optional / source conditions | Citizen-ID issue date; optional. Format follows the deployment contract. |
user_info.gender | string | Optional / source conditions | Gender; optional. Format follows the deployment contract. |
user_info.nationality_code | string | Optional / source conditions | Nationality code; optional. Format follows the deployment contract. |
user_info.permanent_address | string | Optional / source conditions | Permanent address; optional. Format follows the deployment contract. |
user_info.permanent_village_text | string | Optional / source conditions | Permanent locality name; optional. Format follows the deployment contract. |
user_info.permanent_city_text | string | Optional / source conditions | Permanent city/province name; optional. Format follows the deployment contract. |
user_info.living_place_address | string | Optional / source conditions | Current address; optional. Format follows the deployment contract. |
user_info.living_place_village_text | string | Optional / source conditions | Current locality name; optional. Format follows the deployment contract. |
user_info.living_place_city_code | string | Optional / source conditions | Current city/province code; optional. Format follows the deployment contract. |
user_info.living_place_city_text | string | Optional / source conditions | Current city/province name; optional. Format follows the deployment contract. |
user_info.id_card_expire_date | string | Optional / source conditions | Citizen-ID expiry date; optional. Format follows the deployment contract. |
Illustrative payload — Not executed against the service
{
"provider": "HUD-FPT-CA",
"service_package_code": "DEMO_PACKAGE",
"partner_code": "DEMO_PARTNER",
"originator_id": "DEMO_APP",
"user_info": {
"citizen_pid": "DEMO_CITIZEN_ONLY"
},
"operation_mode": "A"
}Response · 200
Read HTTP status and business outcome separately.
| Field | Type | Presence | Description |
|---|---|---|---|
status | string | Optional / source conditions | Credential registration processing status. |
Response · default
Read HTTP status and business outcome separately.
| Field | Type | Presence | Description |
|---|---|---|---|
code | string | Optional / source conditions | Service error code, distinct from HTTP status. |
message | string | Optional / source conditions | Short error message. |
description | string | Optional / source conditions | Detailed explanation when present. |
Confirmation required
Next action
Persist x-billcode-id, await user action and reconcile status before creating another request.