Skip to content

Update subscriptions.yaml #149

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 3, 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
359 changes: 0 additions & 359 deletions openapi/subscriptions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1239,101 +1239,6 @@ paths:
security:
- Bearer:
- subscriptions
/api/providers/{providerid}/agreements/{agreementid}/oneoffpayments:
post:
tags:
- Subscriptions
summary: Request one-off payment on an existing agreement.
parameters:
- name: providerid
in: path
required: true
schema:
type: string
format: uuid
- name: agreementid
in: path
required: true
schema:
type: string
format: uuid
- name: CorrelationId
in: header
description: CorrelationId used for logging
schema:
type: string
requestBody:
content:
application/json-patch+json:
schema:
$ref: '#/components/schemas/RestAPI.Models.Merchant.RequestOneOffPaymentRequest'
application/json:
schema:
$ref: '#/components/schemas/RestAPI.Models.Merchant.RequestOneOffPaymentRequest'
text/json:
schema:
$ref: '#/components/schemas/RestAPI.Models.Merchant.RequestOneOffPaymentRequest'
application/*+json:
schema:
$ref: '#/components/schemas/RestAPI.Models.Merchant.RequestOneOffPaymentRequest'
responses:
'202':
description: One off payment request accepted.
content:
text/plain:
schema:
$ref: '#/components/schemas/RestAPI.Models.Merchant.CreateOneOffPaymentResponse'
application/json:
schema:
$ref: '#/components/schemas/RestAPI.Models.Merchant.CreateOneOffPaymentResponse'
text/json:
schema:
$ref: '#/components/schemas/RestAPI.Models.Merchant.CreateOneOffPaymentResponse'
'400':
description: Something's wrong with request body.
content:
text/plain:
schema:
$ref: '#/components/schemas/RestAPI.ActionFilters.Models.Error'
application/json:
schema:
$ref: '#/components/schemas/RestAPI.ActionFilters.Models.Error'
text/json:
schema:
$ref: '#/components/schemas/RestAPI.ActionFilters.Models.Error'
'401':
description: Api key is wrong or not provided.
'404':
description: Agreement not found.
'409':
description: Request didn't meet all business requirements.
'412':
description: Request didn't meet all business requirements.
content:
text/plain:
schema:
$ref: '#/components/schemas/RestAPI.ActionFilters.Models.Error'
application/json:
schema:
$ref: '#/components/schemas/RestAPI.ActionFilters.Models.Error'
text/json:
schema:
$ref: '#/components/schemas/RestAPI.ActionFilters.Models.Error'
'500':
description: General server or application error.
content:
text/plain:
schema:
$ref: '#/components/schemas/RestAPI.ActionFilters.Models.Error'
application/json:
schema:
$ref: '#/components/schemas/RestAPI.ActionFilters.Models.Error'
text/json:
schema:
$ref: '#/components/schemas/RestAPI.ActionFilters.Models.Error'
security:
- Bearer:
- subscriptions
get:
tags:
- Subscriptions
Expand Down Expand Up @@ -1654,270 +1559,6 @@ paths:
security:
- Bearer:
- subscriptions
/api/providers/{providerid}/payments/{paymentid}/attachment:
get:
tags:
- Subscriptions
summary: Get payment attachment details.
parameters:
- name: providerid
in: path
required: true
schema:
type: string
format: uuid
- name: paymentid
in: path
required: true
schema:
type: string
format: uuid
- name: CorrelationId
in: header
description: CorrelationId used for logging
schema:
type: string
responses:
'200':
description: Success
content:
text/plain:
schema:
$ref: '#/components/schemas/RestAPI.Models.Payments.GetPaymentAttachmentResponse'
application/json:
schema:
$ref: '#/components/schemas/RestAPI.Models.Payments.GetPaymentAttachmentResponse'
text/json:
schema:
$ref: '#/components/schemas/RestAPI.Models.Payments.GetPaymentAttachmentResponse'
'400':
description: Something's wrong with request body.
content:
text/plain:
schema:
$ref: '#/components/schemas/RestAPI.ActionFilters.Models.Error'
application/json:
schema:
$ref: '#/components/schemas/RestAPI.ActionFilters.Models.Error'
text/json:
schema:
$ref: '#/components/schemas/RestAPI.ActionFilters.Models.Error'
'401':
description: Api key is wrong or not provided.
'403':
description: Payment doesn't belong to provider
'404':
description: Payment or attachment doesn't exists
'409':
description: Domain error response
'500':
description: General server or application error.
content:
text/plain:
schema:
$ref: '#/components/schemas/RestAPI.ActionFilters.Models.Error'
application/json:
schema:
$ref: '#/components/schemas/RestAPI.ActionFilters.Models.Error'
text/json:
schema:
$ref: '#/components/schemas/RestAPI.ActionFilters.Models.Error'
security:
- Bearer:
- subscriptions
put:
tags:
- Subscriptions
summary: Update payment attachment.
parameters:
- name: providerid
in: path
required: true
schema:
type: string
format: uuid
- name: paymentid
in: path
required: true
schema:
type: string
format: uuid
- name: CorrelationId
in: header
description: CorrelationId used for logging
schema:
type: string
requestBody:
content:
application/json-patch+json:
schema:
$ref: '#/components/schemas/RestAPI.Models.Payments.UpdatePaymentAttachmentRequest'
application/json:
schema:
$ref: '#/components/schemas/RestAPI.Models.Payments.UpdatePaymentAttachmentRequest'
text/json:
schema:
$ref: '#/components/schemas/RestAPI.Models.Payments.UpdatePaymentAttachmentRequest'
application/*+json:
schema:
$ref: '#/components/schemas/RestAPI.Models.Payments.UpdatePaymentAttachmentRequest'
responses:
'204':
description: Attachment created
'400':
description: Something's wrong with request body.
content:
text/plain:
schema:
$ref: '#/components/schemas/RestAPI.ActionFilters.Models.Error'
application/json:
schema:
$ref: '#/components/schemas/RestAPI.ActionFilters.Models.Error'
text/json:
schema:
$ref: '#/components/schemas/RestAPI.ActionFilters.Models.Error'
'401':
description: Api key is wrong or not provided.
'403':
description: Payment doesn't belong to provider
'404':
description: Payment or attachment doesn't exists
'409':
description: Domain error response
'500':
description: General server or application error.
content:
text/plain:
schema:
$ref: '#/components/schemas/RestAPI.ActionFilters.Models.Error'
application/json:
schema:
$ref: '#/components/schemas/RestAPI.ActionFilters.Models.Error'
text/json:
schema:
$ref: '#/components/schemas/RestAPI.ActionFilters.Models.Error'
security:
- Bearer:
- subscriptions
delete:
tags:
- Subscriptions
summary: Delete payment attachment.
parameters:
- name: providerid
in: path
required: true
schema:
type: string
format: uuid
- name: paymentid
in: path
required: true
schema:
type: string
format: uuid
- name: CorrelationId
in: header
description: CorrelationId used for logging
schema:
type: string
responses:
'204':
description: Payment attachment was delete
'400':
description: Something's wrong with request body.
content:
text/plain:
schema:
$ref: '#/components/schemas/RestAPI.ActionFilters.Models.Error'
application/json:
schema:
$ref: '#/components/schemas/RestAPI.ActionFilters.Models.Error'
text/json:
schema:
$ref: '#/components/schemas/RestAPI.ActionFilters.Models.Error'
'401':
description: Api key is wrong or not provided.
'403':
description: Payment doesn't belong to provider
'409':
description: Domain error response
'500':
description: General server or application error.
content:
text/plain:
schema:
$ref: '#/components/schemas/RestAPI.ActionFilters.Models.Error'
application/json:
schema:
$ref: '#/components/schemas/RestAPI.ActionFilters.Models.Error'
text/json:
schema:
$ref: '#/components/schemas/RestAPI.ActionFilters.Models.Error'
security:
- Bearer:
- subscriptions
/api/providers/{providerid}/payments/{paymentid}/attachment/pdf:
get:
tags:
- Subscriptions
summary: Get payment attachment file.
parameters:
- name: providerid
in: path
required: true
schema:
type: string
format: uuid
- name: paymentid
in: path
required: true
schema:
type: string
format: uuid
- name: CorrelationId
in: header
description: CorrelationId used for logging
schema:
type: string
responses:
'200':
description: Success
'400':
description: Something's wrong with request body.
content:
text/plain:
schema:
$ref: '#/components/schemas/RestAPI.ActionFilters.Models.Error'
application/json:
schema:
$ref: '#/components/schemas/RestAPI.ActionFilters.Models.Error'
text/json:
schema:
$ref: '#/components/schemas/RestAPI.ActionFilters.Models.Error'
'401':
description: Api key is wrong or not provided.
'403':
description: Payment doesn't belong to provider
'404':
description: Payment or attachment doesn't exists
'409':
description: Domain error response
'500':
description: General server or application error.
content:
text/plain:
schema:
$ref: '#/components/schemas/RestAPI.ActionFilters.Models.Error'
application/json:
schema:
$ref: '#/components/schemas/RestAPI.ActionFilters.Models.Error'
text/json:
schema:
$ref: '#/components/schemas/RestAPI.ActionFilters.Models.Error'
security:
- Bearer:
- subscriptions
/api/providers/{providerid}/agreements/{agreementid}/payments/{paymentid}/refunds:
get:
tags:
Expand Down
Loading