Batch file JSON schema
Input batch file schema
Virtual card registration
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"header": {
"type": "object",
"properties": {
"batchId": { "type": "string", "nullable": false },
"seqNumber": { "type": "string", "nullable": false },
"operation": {
"type": "string",
"enum": ["VIRTUAL_CARD_REGISTRATION"]
},
"issuerId": {
"type": "string"
}
},
"additionalProperties": false,
"required": [
"batchId",
"seqNumber",
"operation",
"issuerId"
]
},
"records": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rowId": {
"type": "integer"
},
"virtualCardRegistrationRequest": {
"type": "object",
"properties": {
"card": {
"type": "object",
"required": ["id", "scheme", "encryptedData"],
"properties": {
"id": { "type": "string", "nullable": false },
"scheme": { "type": "string", "enum": ["MASTERCARD", "VISA"] },
"encryptedData": { "type": "string" }
}
}
},
"required": ["card"],
"additionalProperties": false
}
},
"required": [
"rowId",
"virtualCardRegistrationRequest"
]
},
"additionalItems": false
},
"signature": { "type": "string", "nullable": false, "minLength": 1 }
},
"additionalProperties": false,
"required": [
"header",
"records",
"signature"
]
}Output batch file schema
Virtual card registration result
Last updated
Was this helpful?