From 1ba26a7f6c3245a6d3b569311391ad246d07ec70 Mon Sep 17 00:00:00 2001 From: sumup-machine-user Date: Tue, 31 Mar 2026 06:48:08 +0000 Subject: [PATCH 1/2] chore: synced local 'openapi.json' with remote 'specs/openapi.json' --- openapi.json | 58 ++++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 52 insertions(+), 6 deletions(-) diff --git a/openapi.json b/openapi.json index fb9740d8..e2bd9d5a 100755 --- a/openapi.json +++ b/openapi.json @@ -6474,7 +6474,9 @@ "boleto", "ideal", "blik", - "bancontact" + "bancontact", + "google_pay", + "apple_pay" ] }, "installments": { @@ -6489,6 +6491,50 @@ "card": { "$ref": "#/components/schemas/Card" }, + "google_pay": { + "description": "Raw `PaymentData` object received from Google Pay. Send the Google Pay response payload as-is.", + "type": "object", + "example": { + "apiVersionMinor": 0, + "apiVersion": 2, + "paymentMethodData": { + "description": "Visa •••• 1111", + "tokenizationData": { + "type": "PAYMENT_GATEWAY", + "token": "token-data" + }, + "type": "CARD", + "info": { + "cardNetwork": "VISA", + "cardDetails": "1111" + } + } + } + }, + "apple_pay": { + "description": "Raw payment token object received from Apple Pay. Send the Apple Pay response payload as-is.", + "type": "object", + "example": { + "token": { + "paymentData": { + "data": "si2xuT2ArQo689SfE-long-token", + "signature": "MIAGCSqGSIb3DQEHA-long-signature", + "header": { + "publicKeyHash": "PWfjDi3TSwgZ20TY/A7f3V6J/1rhHyRDCspbeljM0io=", + "ephemeralPublicKey": "MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEaBtz7UN2MNV0qInJVEEhXy10PU0KfO6KxFjXm93oKWL6lCsxZZGDl/EKioUHVSlKgpsKGin0xvgldfxeJVgy0g==", + "transactionId": "62e0568bc9258e9d0e059d745650fc8211d05ef7a7a1589a6411bf9b12cdfd04" + }, + "version": "EC_v1" + }, + "paymentMethod": { + "displayName": "MasterCard 8837", + "network": "MasterCard", + "type": "debit" + }, + "transactionIdentifier": "62E0568BC9258E9D0E059D745650FC8211D05EF7A7A1589A6411BF9B12CDFD04" + } + } + }, "token": { "description": "__Required when using a tokenized card to process a checkout.__ Unique token identifying the saved payment card for a customer.", "type": "string" @@ -8848,7 +8894,7 @@ "description": "The company's legal name.", "type": "string", "example": "Gin & Doughnuts Bar GmbH", - "maxLength": 512, + "maxLength": 150, "minLength": 1 }, "merchant_category_code": { @@ -8908,7 +8954,7 @@ "description": "The customer-facing business name.", "type": "string", "example": "Example Coffee", - "maxLength": 512, + "maxLength": 150, "minLength": 1 }, "dynamic_descriptor": { @@ -8924,13 +8970,13 @@ "type": "string", "format": "uri", "example": "https://example.com", - "maxLength": 512 + "maxLength": 255 }, "email": { "description": "A publicly available email address.", "type": "string", "example": "contact@example.com", - "maxLength": 256 + "maxLength": 255 }, "phone_number": { "$ref": "#/components/schemas/PhoneNumber" @@ -8954,7 +9000,7 @@ "description": "A publicly available phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format.\n", "type": "string", "example": "+420123456789", - "maxLength": 64 + "maxLength": 16 }, "Branding": { "description": "Settings used to apply the Merchant's branding to email receipts, invoices, checkouts, and other products.", From 0dcebac0e5eabe896d190f8a1755c8ca791084a0 Mon Sep 17 00:00:00 2001 From: sumup-machine-user Date: Tue, 31 Mar 2026 06:48:08 +0000 Subject: [PATCH 2/2] chore: synced local 'openapi.yaml' with remote 'specs/openapi.yaml' --- openapi.yaml | 45 ++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 40 insertions(+), 5 deletions(-) diff --git a/openapi.yaml b/openapi.yaml index 17f6008a..79cc805c 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -4400,6 +4400,8 @@ components: - ideal - blik - bancontact + - google_pay + - apple_pay installments: description: Number of installments for deferred payments. Available only to merchant users in Brazil. type: integer @@ -4409,6 +4411,39 @@ components: $ref: '#/components/schemas/MandatePayload' card: $ref: '#/components/schemas/Card' + google_pay: + description: Raw `PaymentData` object received from Google Pay. Send the Google Pay response payload as-is. + type: object + example: + apiVersionMinor: 0 + apiVersion: 2 + paymentMethodData: + description: Visa •••• 1111 + tokenizationData: + type: PAYMENT_GATEWAY + token: token-data + type: CARD + info: + cardNetwork: VISA + cardDetails: '1111' + apple_pay: + description: Raw payment token object received from Apple Pay. Send the Apple Pay response payload as-is. + type: object + example: + token: + paymentData: + data: si2xuT2ArQo689SfE-long-token + signature: MIAGCSqGSIb3DQEHA-long-signature + header: + publicKeyHash: PWfjDi3TSwgZ20TY/A7f3V6J/1rhHyRDCspbeljM0io= + ephemeralPublicKey: MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEaBtz7UN2MNV0qInJVEEhXy10PU0KfO6KxFjXm93oKWL6lCsxZZGDl/EKioUHVSlKgpsKGin0xvgldfxeJVgy0g== + transactionId: 62e0568bc9258e9d0e059d745650fc8211d05ef7a7a1589a6411bf9b12cdfd04 + version: EC_v1 + paymentMethod: + displayName: MasterCard 8837 + network: MasterCard + type: debit + transactionIdentifier: 62E0568BC9258E9D0E059D745650FC8211D05EF7A7A1589A6411BF9B12CDFD04 token: description: __Required when using a tokenized card to process a checkout.__ Unique token identifying the saved payment card for a customer. type: string @@ -6255,7 +6290,7 @@ components: description: The company's legal name. type: string example: Gin & Doughnuts Bar GmbH - maxLength: 512 + maxLength: 150 minLength: 1 merchant_category_code: description: | @@ -6306,7 +6341,7 @@ components: description: The customer-facing business name. type: string example: Example Coffee - maxLength: 512 + maxLength: 150 minLength: 1 dynamic_descriptor: description: | @@ -6322,12 +6357,12 @@ components: type: string format: uri example: 'https://example.com' - maxLength: 512 + maxLength: 255 email: description: A publicly available email address. type: string example: contact@example.com - maxLength: 256 + maxLength: 255 phone_number: $ref: '#/components/schemas/PhoneNumber' address: @@ -6342,7 +6377,7 @@ components: A publicly available phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format. type: string example: '+420123456789' - maxLength: 64 + maxLength: 16 Branding: description: 'Settings used to apply the Merchant''s branding to email receipts, invoices, checkouts, and other products.' type: object