Skip to content

Update online.yaml #152

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

Merged
merged 1 commit into from
Apr 8, 2024
Merged
Changes from all 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
117 changes: 0 additions & 117 deletions openapi/online.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,47 +89,6 @@ paths:
$ref: '#/components/schemas/MerchantDetailsResponse'
'409':
description: Domain error response
patch:
tags:
- Merchants
summary: Update merchant
description: >-
Update properties on a given merchant. Only provided values will be
updated.
parameters:
- name: merchantId
in: path
required: true
schema:
type: string
format: uuid
- name: CorrelationId
in: header
description: CorrelationId used for logging
schema:
type: string
- name: x-ibm-client-id
in: header
description: Client id for authentication
required: true
schema:
type: string
- name: x-ibm-client-secret
in: header
description: Client secret for authentication
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/MerchantUpdateRequest'
responses:
'204':
description: No Content
'409':
description: Domain error response
/api/v1/merchants:
get:
tags:
Expand Down Expand Up @@ -198,44 +157,6 @@ paths:
$ref: '#/components/schemas/MerchantCreateResponse'
'409':
description: Domain error response
'/api/v3/payments/{paymentId}':
get:
tags:
- Payments
summary: Get payment
parameters:
- name: paymentId
in: path
required: true
schema:
type: string
format: uuid
- name: CorrelationId
in: header
description: CorrelationId used for logging
schema:
type: string
- name: x-ibm-client-id
in: header
description: Client id for authentication
required: true
schema:
type: string
- name: x-ibm-client-secret
in: header
description: Client secret for authentication
required: true
schema:
type: string
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/PaymentDetailsV3Response'
'409':
description: Domain error response
'/api/v1/payments/{paymentId}/authorizationattempts/{authorizationAttemptId}':
patch:
tags:
Expand Down Expand Up @@ -500,44 +421,6 @@ paths:
$ref: '#/components/schemas/InitiatePaymentResponse'
'409':
description: Domain error response
'/api/v1/payments/{paymentId}/invalidate':
put:
tags:
- Payments
summary: Invalidate payment
description: >-
Invalidate the payment if a successful authorization hasn't been made.
Invalidation means that the user cannot accept or create a request on
this payment.
parameters:
- name: paymentId
in: path
required: true
schema:
type: string
format: uuid
- name: CorrelationId
in: header
description: CorrelationId used for logging
schema:
type: string
- name: x-ibm-client-id
in: header
description: Client id for authentication
required: true
schema:
type: string
- name: x-ibm-client-secret
in: header
description: Client secret for authentication
required: true
schema:
type: string
responses:
'200':
description: Success
'409':
description: Domain error response
'/api/v1/product/payments/simulation/enter-phone-and-swipe/{paymentId}':
post:
tags:
Expand Down
Loading