Skip to content

Commit 0ce71db

Browse files
author
sumup-machine-user
committed
chore: synced local 'openapi.yaml' with remote 'specs/openapi.yaml'
1 parent 3c9fcee commit 0ce71db

1 file changed

Lines changed: 2 additions & 56 deletions

File tree

openapi.yaml

Lines changed: 2 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,7 @@ paths:
115115
currency: EUR
116116
merchant_code: MH4H92C7
117117
description: Purchase
118-
id: 2b79757a-de87-4a2e-90e4-b17c947c730d
119-
status: PAID
120-
date: '2020-02-29T10:56:56+00:00'
121-
merchant_name: John Doe LTD
118+
valid_until: '2020-02-29T10:56:56+00:00'
122119
redirect_url: 'https://sumup.com'
123120
Checkout3DS:
124121
description: Create a 3DS checkout
@@ -437,7 +434,6 @@ paths:
437434
expiry_month: '01'
438435
cvv: '123'
439436
zip_code: '12345'
440-
last_4_digits: '3456'
441437
ProcessToken:
442438
description: Process a checkout with a token
443439
value:
@@ -4150,13 +4146,6 @@ components:
41504146
maxLength: 5
41514147
minLength: 5
41524148
writeOnly: true
4153-
last_4_digits:
4154-
description: Last 4 digits of the payment card number.
4155-
type: string
4156-
example: '3456'
4157-
maxLength: 4
4158-
minLength: 4
4159-
readOnly: true
41604149
type:
41614150
$ref: '#/components/schemas/CardType'
41624151
required:
@@ -4165,7 +4154,6 @@ components:
41654154
- expiry_month
41664155
- expiry_year
41674156
- cvv
4168-
- last_4_digits
41694157
- type
41704158
title: Card
41714159
CardResponse:
@@ -4328,39 +4316,12 @@ components:
43284316
enum:
43294317
- CHECKOUT
43304318
- SETUP_RECURRING_PAYMENT
4331-
id:
4332-
description: Unique ID of the checkout resource.
4333-
type: string
4334-
readOnly: true
4335-
status:
4336-
description: Current status of the checkout.
4337-
type: string
4338-
enum:
4339-
- PENDING
4340-
- FAILED
4341-
- PAID
4342-
readOnly: true
4343-
date:
4344-
description: 'Date and time of the creation of the payment checkout. Response format expressed according to [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) code.'
4345-
type: string
4346-
format: date-time
4347-
example: '2020-02-29T10:56:56+00:00'
4348-
readOnly: true
43494319
valid_until:
43504320
description: 'Date and time of the checkout expiration before which the client application needs to send a processing request. If no value is present, the checkout does not have an expiration time.'
43514321
type: string
43524322
format: date-time
43534323
example: '2020-02-29T10:56:56+00:00'
43544324
nullable: true
4355-
transactions:
4356-
description: List of transactions related to the payment.
4357-
type: array
4358-
items:
4359-
allOf:
4360-
- $ref: '#/components/schemas/TransactionBase'
4361-
- $ref: '#/components/schemas/TransactionCheckoutInfo'
4362-
readOnly: true
4363-
uniqueItems: true
43644325
redirect_url:
43654326
description: '__Required__ for [APMs](https://developer.sumup.com/online-payments/apm/introduction) and __recommended__ for card payments. Refers to a url where the end user is redirected once the payment processing completes. If not specified, the [Payment Widget](https://developer.sumup.com/online-payments/tools/card-widget) renders [3DS challenge](https://developer.sumup.com/online-payments/features/3ds) within an iframe instead of performing a full-page redirect.'
43664327
type: string
@@ -7408,15 +7369,6 @@ components:
74087369
description: Details of the payment card that is saved as a payment instrument.
74097370
type: object
74107371
properties:
7411-
token:
7412-
description: Unique token identifying the saved payment card for a customer.
7413-
type: string
7414-
readOnly: true
7415-
active:
7416-
description: 'Indicates whether the payment instrument is active and can be used for payments. To deactivate it, send a `DELETE` request to the resource endpoint.'
7417-
type: boolean
7418-
default: true
7419-
readOnly: true
74207372
type:
74217373
description: Type of the payment instrument.
74227374
type: string
@@ -7425,8 +7377,6 @@ components:
74257377
card:
74267378
$ref: '#/components/schemas/Card'
74277379
required:
7428-
- token
7429-
- active
74307380
- type
74317381
- card
74327382
title: Payment Instrument Card
@@ -7598,10 +7548,7 @@ components:
75987548
currency: EUR
75997549
merchant_code: MH4H92C7
76007550
description: Purchase
7601-
id: 2b79757a-de87-4a2e-90e4-b17c947c730d
7602-
status: PAID
7603-
date: '2020-02-29T10:56:56+00:00'
7604-
merchant_name: John Doe LTD
7551+
valid_until: '2020-02-29T10:56:56+00:00'
76057552
redirect_url: 'https://sumup.com'
76067553
Checkout3DS:
76077554
description: Create a 3DS checkout
@@ -7647,7 +7594,6 @@ components:
76477594
expiry_month: '01'
76487595
cvv: '123'
76497596
zip_code: '12345'
7650-
last_4_digits: '3456'
76517597
ProcessToken:
76527598
description: Process a checkout with a token
76537599
value:

0 commit comments

Comments
 (0)