Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(mojaloop/3345): enhance payee requesttopay apis #162

Merged
merged 8 commits into from
May 19, 2023
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .ncurc.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ module.exports = {
// Upgrading typescript to 5.0.4 causing unit test failures due to breaking changes related to `ttypescript` for 'custom transformers'
'typescript',
// TODO: The new version of npm-check-updates uses new Glob v9.x and it is introducing a dependency Package "[email protected]" which is licensed under "BlueOak-1.0.0" which is not permitted by the Mojaloop License Policy
'npm-check-updates'
'npm-check-updates',
// TODO: Upgrading ts-auto-mock is breaking the npm install
'ts-auto-mock'
]
}
34 changes: 26 additions & 8 deletions docs/sdk-scheme-adapter-backend-v2_0_0-openapi3-snippets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,11 @@ paths:
specified identifier value.
tags:
- BulkTransfers
/otp/{requestToPayId}:
/otp/{transactionRequestId}:
get:
operationId: BackendOtpGet
parameters:
- $ref: '#/components/parameters/requestToPayId'
- $ref: '#/components/parameters/transactionRequestId'
responses:
'200':
content:
Expand Down Expand Up @@ -430,14 +430,12 @@ components:
required: true
schema:
type: string
requestToPayId:
transactionRequestId:
in: path
name: requestToPayId
name: transactionRequestId
required: true
schema:
maxLength: 128
minLength: 1
type: string
$ref: '#/components/schemas/transactionRequestId'
transferId:
in: path
name: transferId
Expand Down Expand Up @@ -1328,6 +1326,8 @@ components:
$ref: '#/components/schemas/transactionType'
subScenario:
$ref: '#/components/schemas/TransactionSubScenario'
authenticationType:
$ref: '#/components/schemas/AuthenticationType'
required:
- transactionRequestId
- to
Expand All @@ -1346,9 +1346,14 @@ components:
transactionRequestResponse:
description: A response to a request for a quote.
properties:
homeR2PTransactionId:
type: string
description: >-
Transaction ID from the DFSP backend, used to reconcile transactions
between the Switch and DFSP backend systems.
transactionId:
$ref: '#/components/schemas/transactionId'
transferAmount:
transactionRequestState:
$ref: '#/components/schemas/transactionRequestState'
required:
- transactionId
Expand Down Expand Up @@ -2311,3 +2316,16 @@ components:
$ref: '#/components/schemas/bulkTransactionIndividualTransferResult'
extensions:
$ref: '#/components/schemas/ExtensionList'
AuthenticationType:
title: AuthenticationType
type: string
enum:
- OTP
- QRCODE
- U2F
description: |-
Below are the allowed values for the enumeration AuthenticationType.
- OTP - One-time password generated by the Payer FSP.
- QRCODE - QR code used as One Time Password.
- U2F - U2F is a new addition isolated to Thirdparty stream.
example: OTP
Loading