Worldline · Schema
SetPinByPanRequest
PaymentsPayment ProcessingAcquiringIssuingOpen BankingDigital BankingFintechEurope
Properties
| Name | Type | Description |
|---|---|---|
| event | string | EXTERNAL (default -> just don't mention the field), INTERNAL, ATM or IVR |
| pinAttribute | object | |
| encryptedPan | object | |
| pan | string | Either encryptedPan or pan should be mentioned |
| panSequenceNumber | string | Either panSequenceNumber or panExpiryDate should be mentioned, or both |
| panExpiryDate | string | Format MMYY - Either panSequenceNumber or panExpiryDate should be mentioned, or both |
| encryptedPinBlockPan | object | |
| pinBlockPan | string | Only for cases where PAN input to PIN block computation should be overriden; either encryptedPinBlockPan or pinBlockPan should be mentioned |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/wordline/main/json-schema/wordline-set-pin-by-pan-request-schema.json",
"title": "SetPinByPanRequest",
"x-generated": "2026-10-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/wordline-card-pin-api-openapi.yml#/components/schemas/SetPinByPanRequest",
"type": "object",
"required": [
"pinAttribute"
],
"properties": {
"event": {
"type": "string",
"description": "EXTERNAL (default -> just don't mention the field), INTERNAL, ATM or IVR"
},
"pinAttribute": {
"$ref": "#/$defs/PinAttribute"
},
"encryptedPan": {
"$ref": "#/$defs/EncryptedPanData"
},
"pan": {
"type": "string",
"description": "Either encryptedPan or pan should be mentioned"
},
"panSequenceNumber": {
"type": "string",
"description": "Either panSequenceNumber or panExpiryDate should be mentioned, or both"
},
"panExpiryDate": {
"type": "string",
"description": "Format MMYY - Either panSequenceNumber or panExpiryDate should be mentioned, or both"
},
"encryptedPinBlockPan": {
"$ref": "#/$defs/EncryptedPanData"
},
"pinBlockPan": {
"type": "string",
"description": "Only for cases where PAN input to PIN block computation should be overriden; either encryptedPinBlockPan or pinBlockPan should be mentioned"
}
},
"$defs": {
"EncryptedData": {
"type": "object",
"required": [
"algoId",
"encryptedData",
"keyId"
],
"properties": {
"algoId": {
"type": "string",
"description": "Algorithm used to encrypt Session Key\nAllowed Value:\n06 for RSA"
},
"encryptedData": {
"type": "string",
"description": "Cryptogram in hexadecimal string representation"
},
"keyId": {
"type": "string",
"description": "Key set used for request\nAllowed Value:\n01 - Keyset1\n02 - Keyset2"
}
},
"title": "EncryptedData"
},
"EncryptedPanData": {
"type": "object",
"required": [
"algoId",
"encryptedData",
"keyId"
],
"properties": {
"algoId": {
"type": "string",
"description": "00 = PCI-AES, 01 = BEST, 02 = PCI-PAN, 03 = AES-GCM, 11 = PCI-TDES"
},
"encryptedData": {
"type": "string",
"description": "Cryptogram in hexadecimal string representation"
},
"keyId": {
"type": "string",
"description": "Either PCI hexadecimal key index or 01 for BEST/AES-GCM keyset 1 or 02 for BEST/AES-GCM keyset 2"
},
"sessionKey": {
"type": "string",
"description": "BEST session key in hexadecimal string representation"
},
"initializationVector": {
"type": "string",
"description": "BEST or AES-GCM initialization vector in hexadecimal string representation"
},
"authenticationTag": {
"type": "string",
"description": "AES-GCM authentication tag in hexadecimal string representation"
}
},
"title": "EncryptedPanData"
},
"PinAttribute": {
"type": "object",
"required": [
"pinAlgorithmId",
"pinBlock",
"pinBlockFormat"
],
"properties": {
"encryptedSessionKey": {
"$ref": "#/$defs/EncryptedData"
},
"key": {
"type": "string",
"description": "Not used"
},
"keyId": {
"type": "string",
"description": "Key set used for response\nAllowed Value:\n01 - Keyset1\n02 - Keyset2"
},
"pinAlgorithmId": {
"type": "string",
"description": "Algorithm used to encrypt the PIN\nAllowed Value:\n04 = ISO-4 (=> encryptedSessionKey required)\n05 = ISO-1-BAPOF (internal transport + BE banks)\n06 = RSA-APAC (deprecated)\n07 = BEST-PIN (internal migration)"
},
"pinBlock": {
"type": "string",
"description": "PIN block in hexadecimal string representation"
},
"pinBlockFormat": {
"type": "string",
"description": "ISO-4, ISO-1-BAPOF, RSA-APAC, BEST-PIN, etc. (free text, no strict constraint)"
}
},
"title": "PinAttribute"
}
}
}
Work with this as data
Every JSON Schema 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 schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/wordline-set-pin-by-pan-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.