openapi: 3.0.1
info:
title: TM Pre-Digitization API (Outbound)
description: 'The TM Pre-Digitization API are used to inform Issuers of services being
requested by, or on-behalf of, their account holders.
Issuers
provide information in their responses to guide or inform the Account
holder’s experience through the Token Requestor.
'
version: 1.0.0
x-artifactId: tm-pre-digitization-api-outbound
contact:
email: thorsten.brinkmann@dieboldnixdorf.com
tags:
- name: TM Pre-Digitization API (Outbound)
description: 'The TM Pre-Digitization API supports the pre-digitization web services provided by the Digitization Service.
The web services are used to inform Issuers of services being requested by, or on-behalf of, their account holders.
Issuers provide information in their responses to guide or inform the Account holder’s experience through the Token Reqestor.
'
externalDocs:
description: Find out more
url: https://dieboldnixdorf.com
externalDocs:
description: Find out more about Swagger
url: https://swagger.io
servers:
- description: SwaggerHub API Auto Mocking
url: https://virtserver.swaggerhub.com/Diebold-Nixdorf/tm-pre-digitization-api-outbound/1.0.0
paths:
/customerInformation:
post:
summary: 'Optional request to get some customer information from the host.
'
description: 'An Optional request to get some customer information from the
host.
'
operationId: custromerInformation
tags:
- Activation Methods
requestBody:
description: 'Contains the details of the request message.
Note:The consumerId is optional.
'
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CustomerInformationRequest'
responses:
'200':
description: Contains the details of the response message.
content:
application/json:
schema:
$ref: '#/components/schemas/CustomerInformationResponse'
'400':
$ref: '#/components/responses/BadRequest400'
'401':
$ref: '#/components/responses/Unauthorized401'
'405':
$ref: '#/components/responses/MethodNotAllowed405'
'500':
$ref: '#/components/responses/InternalServerError500'
/deliverActivationCode:
post:
summary: 'DeliverActivationCode is used to request an Activation Code be sent to authenticate the Account holder.
'
description: 'deliverActivationCode is used to request an Activation Code be sent to authenticate the Account
holder.
TM Pre-Digitization API generates an Activation Code and delivers it, along with the chosen Activation Code Distribution
Method, to the Issuer for transmission to the Account holder.
The Account holder will then enter the Activation Code into the Mobile Payment App.
Once an Activation Code has been generated, it will be valid for a limited activation period, after which the code
will expire.
Once a code expires, the Issuer can request a new Activation Code via the Customer Service Portal/API, or remotely
activate the token via the Customer Service Portal/API.
The Account holder may request the Activation Code again with the same or a different Activation Code Distribution
Method. This will trigger another request as long as the activation period has not expired.
It will not cause the Activation Code to be regenerated nor extend the validity period of the Activation Code.
'
operationId: deliverActivationCode
tags:
- Activation Methods
requestBody:
description: Contains the details of the request message.
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/DeliverActivationCodeRequest'
responses:
'200':
description: Contains the details of the response message.
content:
application/json:
schema:
$ref: '#/components/schemas/DeliverActivationCodeResponse'
'400':
$ref: '#/components/responses/BadRequest400'
'401':
$ref: '#/components/responses/Unauthorized401'
'405':
$ref: '#/components/responses/MethodNotAllowed405'
'500':
$ref: '#/components/responses/InternalServerError500'
/digitizationCompleted:
post:
summary: 'digitizationCompleted is used to receive notifications that the provisioning and activation of a token for
a funding account has been completed by the digitization service.
'
description: 'digitizationCompleted is used to receive notifications that the provisioning and activation of
a token for a funding account has been completed by the digitization service.
'
operationId: notifyServiceActivated
tags:
- Activation Methods
requestBody:
description: Contains the details of the request message.
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/DigitizationCompletedRequest'
responses:
'200':
description: Contains the details of the response message.
content:
application/json:
schema:
$ref: '#/components/schemas/NotifyServiceActivatedResponse'
'400':
$ref: '#/components/responses/BadRequest400'
'401':
$ref: '#/components/responses/Unauthorized401'
'405':
$ref: '#/components/responses/MethodNotAllowed405'
'500':
$ref: '#/components/responses/InternalServerError500'
components:
responses:
BadRequest400:
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Unauthorized401:
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
NotFound404:
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
MethodNotAllowed405:
description: Method Not Allowed
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Conflict409:
description: Conflict; The authorization has failed.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
InternalServerError500:
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
schemas:
RequestId:
type: string
maxLength: 64
description: The unique id of the request submitted. Max length - 64
example: '123456'
CorrelationId:
type: string
maxLength: 14
description: 'Value linking pre-digitization messages generated during provisioning.
Max length - 14. Type - String
'
example: D98765432104
FPAN:
type: string
maxLength: 128
description: "A tokenized PAN. \nMax length - 128. Type - String.\n"
example: '98765432104676066094325336'
DPAN:
type: string
maxLength: 128
description: "A tokenized PAN. \nMax length - 128. Type - String.\n"
example: '98765432104676066094325336'
ConsumerId:
type: string
maxLength: 88
description: 'Consumer Identifier provided by the token requestor.
Note:Not required – Optionally present in AuthorizeService when provided by the wallet provider.
Max length - 88. Type - String.
'
example: '123456'
DigitalizationDecision:
type: string
enum:
- APPROVED
- DECLINED
- REQUIRE_ADDITIONAL_AUTHENTICATION
description: "The decision that was made by the system or which was recommended by e.g. the Wallet Provider.
\nMust\
\ be one of:
\n