Skip to content

Commit f443aca

Browse files
Update subscriptions.yaml
1 parent 6ddff4d commit f443aca

File tree

1 file changed

+0
-215
lines changed

1 file changed

+0
-215
lines changed

openapi/subscriptions.yaml

-215
Original file line numberDiff line numberDiff line change
@@ -2063,221 +2063,6 @@ paths:
20632063
text/json:
20642064
schema:
20652065
$ref: '#/components/schemas/RestAPI.Configuration.Models.Error'
2066-
/api/agreements/v1/{id}:
2067-
patch:
2068-
tags:
2069-
- Subscriptions User Simulation
2070-
servers:
2071-
- url: https://api.sandbox.mobilepay.dk/recurringpayments-restapi
2072-
description: This endpoint is only available in sandbox environment.
2073-
summary: Accept/Reject agreement.
2074-
description: 'Possible status values: "Accepted", "Rejected".'
2075-
parameters:
2076-
- name: id
2077-
in: path
2078-
required: true
2079-
schema:
2080-
type: string
2081-
format: uuid
2082-
- name: CorrelationId
2083-
in: header
2084-
description: CorrelationId used for logging
2085-
schema:
2086-
type: string
2087-
requestBody:
2088-
content:
2089-
application/json:
2090-
schema:
2091-
$ref: '#/components/schemas/RestAPI.Models.User.UpdateAgreement4MerchantRequest'
2092-
application/json-patch+json:
2093-
schema:
2094-
$ref: '#/components/schemas/RestAPI.Models.User.UpdateAgreement4MerchantRequest'
2095-
text/json:
2096-
schema:
2097-
$ref: '#/components/schemas/RestAPI.Models.User.UpdateAgreement4MerchantRequest'
2098-
application/*+json:
2099-
schema:
2100-
$ref: '#/components/schemas/RestAPI.Models.User.UpdateAgreement4MerchantRequest'
2101-
responses:
2102-
'204':
2103-
description: Agreement updated successfully.
2104-
'400':
2105-
description: Something's wrong with request body.
2106-
content:
2107-
text/plain:
2108-
schema:
2109-
$ref: '#/components/schemas/RestAPI.Models.Error'
2110-
application/json:
2111-
schema:
2112-
$ref: '#/components/schemas/RestAPI.Models.Error'
2113-
text/json:
2114-
schema:
2115-
$ref: '#/components/schemas/RestAPI.Models.Error'
2116-
'401':
2117-
description: Api key is wrong or not provided.
2118-
'403':
2119-
description: Forbidden in current environment
2120-
'404':
2121-
description: Agreement not found
2122-
'409':
2123-
description: Request didn't meet all business requirements.
2124-
'412':
2125-
description: Request didn't meet all business requirements.
2126-
content:
2127-
text/plain:
2128-
schema:
2129-
$ref: '#/components/schemas/RestAPI.Models.Error'
2130-
application/json:
2131-
schema:
2132-
$ref: '#/components/schemas/RestAPI.Models.Error'
2133-
text/json:
2134-
schema:
2135-
$ref: '#/components/schemas/RestAPI.Models.Error'
2136-
'500':
2137-
description: General server or application error.
2138-
content:
2139-
text/plain:
2140-
schema:
2141-
$ref: '#/components/schemas/RestAPI.Models.Error'
2142-
application/json:
2143-
schema:
2144-
$ref: '#/components/schemas/RestAPI.Models.Error'
2145-
text/json:
2146-
schema:
2147-
$ref: '#/components/schemas/RestAPI.Models.Error'
2148-
/api/users/v1/me/agreements/{agreementid}/oneoffpayments/{paymentid}:
2149-
patch:
2150-
tags:
2151-
- Subscriptions User Simulation
2152-
servers:
2153-
- url: https://api.sandbox.mobilepay.dk/recurringpayments-restapi
2154-
description: This endpoint is only available in sandbox environment.
2155-
summary: Accept/Reject one off payment.
2156-
description: 'Possible status values: "Accepted", "Rejected".'
2157-
parameters:
2158-
- name: agreementid
2159-
in: path
2160-
required: true
2161-
schema:
2162-
type: string
2163-
format: uuid
2164-
- name: paymentid
2165-
in: path
2166-
required: true
2167-
schema:
2168-
type: string
2169-
format: uuid
2170-
- name: CorrelationId
2171-
in: header
2172-
description: CorrelationId used for logging
2173-
schema:
2174-
type: string
2175-
requestBody:
2176-
content:
2177-
application/json-patch+json:
2178-
schema:
2179-
type: array
2180-
items:
2181-
$ref: '#/components/schemas/Microsoft.AspNetCore.JsonPatch.Operations.Operation'
2182-
nullable: true
2183-
application/json:
2184-
schema:
2185-
type: array
2186-
items:
2187-
$ref: '#/components/schemas/Microsoft.AspNetCore.JsonPatch.Operations.Operation'
2188-
nullable: true
2189-
text/json:
2190-
schema:
2191-
type: array
2192-
items:
2193-
$ref: '#/components/schemas/Microsoft.AspNetCore.JsonPatch.Operations.Operation'
2194-
nullable: true
2195-
application/*+json:
2196-
schema:
2197-
type: array
2198-
items:
2199-
$ref: '#/components/schemas/Microsoft.AspNetCore.JsonPatch.Operations.Operation'
2200-
nullable: true
2201-
responses:
2202-
'200':
2203-
description: Status of one off payment was successfully changed.
2204-
'403':
2205-
description: Forbidden in current environment
2206-
'404':
2207-
description: Not Found
2208-
'409':
2209-
description: Request didn't meet all business requirements.
2210-
/api/users/v1/me/agreements/{agreementid}:
2211-
patch:
2212-
tags:
2213-
- Subscriptions User Simulation
2214-
servers:
2215-
- url: https://api.sandbox.mobilepay.dk/recurringpayments-restapi
2216-
description: This endpoint is only available in sandbox environment.
2217-
summary: Cancel agreement.
2218-
description: 'Possible status values: "Canceled".'
2219-
parameters:
2220-
- name: agreementid
2221-
in: path
2222-
required: true
2223-
schema:
2224-
type: string
2225-
format: uuid
2226-
- name: CorrelationId
2227-
in: header
2228-
description: CorrelationId used for logging
2229-
schema:
2230-
type: string
2231-
requestBody:
2232-
content:
2233-
application/json:
2234-
schema:
2235-
$ref: '#/components/schemas/RestAPI.Models.User.UpdateAgreement4MerchantCancelRequest'
2236-
application/json-patch+json:
2237-
schema:
2238-
$ref: '#/components/schemas/RestAPI.Models.User.UpdateAgreement4MerchantCancelRequest'
2239-
text/json:
2240-
schema:
2241-
$ref: '#/components/schemas/RestAPI.Models.User.UpdateAgreement4MerchantCancelRequest'
2242-
application/*+json:
2243-
schema:
2244-
$ref: '#/components/schemas/RestAPI.Models.User.UpdateAgreement4MerchantCancelRequest'
2245-
responses:
2246-
'204':
2247-
description: Agreement notification_on or status setting changed successfully.
2248-
'403':
2249-
description: Forbidden in current environment
2250-
'404':
2251-
description: Not Found
2252-
'409':
2253-
description: Domain error response
2254-
/api/users/me/payments/{paymentid}:
2255-
delete:
2256-
tags:
2257-
- Subscriptions User Simulation
2258-
servers:
2259-
- url: https://api.sandbox.mobilepay.dk/recurringpayments-restapi
2260-
description: This endpoint is only available in sandbox environment.
2261-
summary: Reject payment.
2262-
parameters:
2263-
- name: paymentid
2264-
in: path
2265-
required: true
2266-
schema:
2267-
type: string
2268-
format: uuid
2269-
- name: CorrelationId
2270-
in: header
2271-
description: CorrelationId used for logging
2272-
schema:
2273-
type: string
2274-
responses:
2275-
'204':
2276-
description: Payment rejected successfully
2277-
'403':
2278-
description: Forbidden in current environment
2279-
'409':
2280-
description: Domain error response
22812066
components:
22822067
schemas:
22832068
RestAPI.Models.Merchant.V3.GetSubscriptionProviderResponse:

0 commit comments

Comments
 (0)