Table of Contents

xPaymentServices API (GiroCheckout)

Version: 1.0.0

Description:

OpenAPI Documentation:

OpenAPI version: 3.0.3

You can find this documentation in OpenAPI format here: girocheckout_xbezahldienste_openapi.yaml

Server

URL Description
https://payment.girosolution.de/api/xbezahldienste/{…endpunkt} Production host; use the specified prefix and then append the endpoint URL listed below

Tags

Name Description
Payment Service Endpoints for payment transactions
Operations Status endpoints
OAuth2 Token endpoint

Paths

/xbezahldienste/auth/token

POST

Tags: OAuth2

Summary: Token endpoint (client credentials)

Description:

Request Body: required

Content-Type Schema
application/x-www-form-urlencoded #/components/schemas/TokenRequest
application/json #/components/schemas/TokenRequest

Responses:

Status Description Content-Type Schema
200 Token response application/json #/components/schemas/TokenResponse
400 Invalid request application/json #/components/schemas/TokenError
401 Invalid client application/json #/components/schemas/TokenError

/xbezahldienste/paymenttransaction/{originatorId}/{endPointId}

POST

Tags: Payment Service

Summary: Create PaymentTransaction (paypage initialization)

Security: OAuth2 (Scope: post)

Parameters (Path):

Name Description Required Schema
originatorId Mapping to the GiroCheckout merchant ID. The merchant ID can be found in the customer’s GiroCockpit account. yes string (minLength: 1, maxLength: 36, pattern: ^[\w\d-]+$)
endPointId Mapping to the GiroCheckout project ID. The project ID can be found in the customer’s GiroCockpit account for the corresponding payment project. yes string (minLength: 1, maxLength: 36, pattern: ^[\w\d-]+$)

Request Body: required

Content-Type Schema
application/json #/components/schemas/PaymentRequest

Responses:

Status Description Content-Type Schema
200 OK application/json #/components/schemas/PaymentTransaction
400 (see response) application/problem+json #/components/responses/400Error
404 (see response) application/problem+json #/components/responses/404Error
504 (see response) application/problem+json #/components/responses/504Error

/xbezahldienste/paymenttransaction/{originatorId}/{endPointId}/{transactionId}

GET

Tags: Payment Service

Summary: Retrieve PaymentTransaction status

Security: OAuth2 (Scope: read)

Parameters (Path):

Name Description Required Schema
originatorId Mapping to the GiroCheckout merchant ID. The merchant ID can be found in the customer’s GiroCockpit account. yes string (minLength: 1, maxLength: 36, pattern: ^[\w\d-]+$)
endPointId Mapping to the GiroCheckout project ID. The project ID can be found in the customer’s GiroCockpit account for the corresponding payment project. yes string (minLength: 1, maxLength: 36, pattern: ^[\w\d-]+$)
transactionId (see parameter: TransactionId) yes string (minLength: 1, maxLength: 44, pattern: ^[\w\d-]+$)

Responses:

Status Description Content-Type Schema
200 OK application/json #/components/schemas/PaymentTransaction
404 (see response) application/problem+json #/components/responses/404Error
504 (see response) application/problem+json #/components/responses/504Error

/xbezahldienste/status

GET

Tags: Operations

Summary: Service status

Security: OAuth2 (Scope: read)

Responses:

Status Description Content-Type Schema
200 (see response) application/problem+json #/components/responses/200Healthy
403 (see response) application/problem+json #/components/responses/403Error
504 (see response) application/problem+json #/components/responses/504Error

/xbezahldienste/status/{originatorId}/{endPointId}

GET

Tags: Operations

Summary: Status for a specific configuration

Security: OAuth2 (Scope: read)

Parameters (Path):

Name Description Required Schema
originatorId Mapping to the GiroCheckout merchant ID. The merchant ID can be found in the customer’s GiroCockpit account. yes string (minLength: 1, maxLength: 36, pattern: ^[\w\d-]+$)
endPointId Mapping to the GiroCheckout project ID. The project ID can be found in the customer’s GiroCockpit account for the corresponding payment project. yes string (minLength: 1, maxLength: 36, pattern: ^[\w\d-]+$)

Responses:

Status Description Content-Type Schema
200 (see response) application/problem+json #/components/responses/200Healthy
403 (see response) application/problem+json #/components/responses/403Error
504 (see response) application/problem+json #/components/responses/504Error

Components

Security Schemes

OAuth2

Parameters

OriginatorId

EndPointId

TransactionId

Schemas

PaymentTransaction

PaymentInformation

PaymentRequest

PaymentItem

Requestor

Address

SystemResponse

TokenRequest

TokenResponse

TokenError

Responses

200Healthy

400Error

403Error

404Error

504Error