Guides
These docs are for v1.0.1. Click to read the latest docs for v2.1.0.

Giropay

120

paymentmethod=GPA

Payment ProcessIntegration
Authorization✔️Payment Page✔️
Deferred SettlementSplit Mode
RefundMobile SDK
Cancel
Alias

Description

Bank transfers are one of the most popular forms of payment in Germany. To make transfers possible without media disruption in e-commerce, too, integration of giropay is advisable. This method is based on online transfers using PIN and TAN and does not require additional registration by the buyer.

The buyer completes the transfer in the secure online banking portal of his bank or savings bank. Immediately after the successful transfer, the payment recipient (online shop) receives an irrevocable payment guarantee from the buyer’s bank and thus has 100% protection against payment defaults. More than 35 million customers in Germany can use giropay.
Payment Method provider website 🔗

📘

Request and response parameter reference

For a more detailed description of the request and response parameters for Giropay
please check the API Reference

Test

Login Information

bank account/ login: sepatest1
PIN: any 5-digit number
TAN: any 6-digit number

Web payment flow

 1 
[Not supported by viewer]
Customer clicks Pay
Customer clicks Pay
Merchant Website
Merchant Website
Merchant Server
Merchant Server
Redirects to Bank
Redirects to Bank
Bank
Bank<br>
Customer enters Banking Information
[Not supported by viewer]
 2 
[Not supported by viewer]
 4 
[Not supported by viewer]
Authorization / Forwarding
Authorization / Forwarding
 5 
[Not supported by viewer]
Receives Result 
Receives Result 
5.1
[Not supported by viewer]
 6 
[Not supported by viewer]
Invokes merchant's
POST URL (Webhook)
Invokes merchant's<br>POST URL (Webhook)
Receives Result 
Receives Result 
 7 
[Not supported by viewer]
Redirects customer back to merchant
Redirects customer back to merchant
Customer gets redirected to merchant page
Customer gets redirected to merchant page
 3 
[Not supported by viewer]

Shopping cart type

Additional parameters are required in your requests to successfully process Giropay transactions and ensure consumers benefit from additional features like buyer protection and a money-back guarantee. Two mandatory parameters to include are gpaShoppingCartType and uppShippingDetails. The table below specifies additional mandatory parameters, depending on the shopping cart type you submit.

Shopping cart typeDescriptionAdditional fields
PHYSICALAll goods in the cart are of a physical nature.uppShippingDetails=yes, uppShippingFirstName, uppShippingLastName, uppShippingZipCode, uppShippingCity, uppShippingCountry
DIGITALAll goods in the cart are of a digital nature.uppShippingDetails=yes, uppShippingFirstName, uppShippingLastName, uppShippingEmail
MIXEDThe cart contains both physical and digital goods.uppShippingDetails=yes, uppShippingFirstName, uppShippingLastName, uppShippingZipCode,​ uppShippingCity, uppShippingCountry
ANONYMOUS_DONATIONThis is an anonymous donation and not a commercial transaction.uppShippingDetails=yes
AUTHORITIES_PAYMENTThis is a payment for local authorities.uppShippingDetails=yes

Server to Server API calls

After a transactionId or alias was received by completing the payment flow on the web, the following server to server API calls can be used to do other actions.

Authorization

Is only possible through the web interface.

Settlement

Not possible as Griopay is a direct debit method. Default reqtype=CAA

Cancel

Can not be canceled since it is a direct debit method

Credit

Credit option not available

Status

Request

curl -v -X POST https://api.sandbox.datatrans.com/upp/jsp/XML_status.jsp \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d @- << EOF
<?xml version="1.0" encoding="UTF-8" ?>
<statusService version="5">
  <body merchantId="1000011011">
    <transaction>
      <request>
        <uppTransactionId>180830161324498844</uppTransactionId>
        <reqtype>STX</reqtype>
      </request>
    </transaction>
  </body>
</statusService>
EOF

Response

<?xml version='1.0' encoding='UTF-8'?>
<statusService version='5'>
    <body merchantId='1000011011' status='accepted'>
        <transaction trxStatus='response'>
            <request>
                <uppTransactionId>180830161324498844</uppTransactionId>
                <reqtype>STX</reqtype>
            </request>
            <response itemNr='1'>
                <responseCode>11</responseCode>
                <responseMessage>Trx authentified</responseMessage>
                <refno>396617</refno>
                <refno2>Testing purchase</refno2>
                <amount>100</amount>
                <currency>EUR</currency>
                <authorizationCode>409188939</authorizationCode>
                <pmethod>GPA</pmethod>
                <uppTransactionId>180830161324498844</uppTransactionId>
                <maskedCC></maskedCC>
                <aliasCC></aliasCC>
                <expm></expm>
                <expy></expy>
                <trxDate>20180830</trxDate>
                <trxTime>161324</trxTime>
                <trtype>05</trtype>
            </response>
        </transaction>
    </body>
</statusService>