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

Powerpay Credit Check

120

paymentmethod=MFA

Payment ProcessIntegration
Authorization
(pre-screening)
✔️Payment Page✔️
Deferred Settlement✔️Split Mode
Refund✔️Mobile SDK
Cancel✔️
Alias

Description

Payment Method provider website 🔗

📘

Request and response parameter reference

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

Web payment flow

 1 
[Not supported by viewer]
Requests credit check
Requests credit check
Merchant Website
Merchant Website
Merchant Server
Merchant Server
Redirects request to Powerpay
Redirects request to Powerpay
Powerpay
Powerpay<br>
Checks data received
[Not supported by viewer]
 2 
[Not supported by viewer]
 4 
[Not supported by viewer]
Validates client and checks credit
Validates client and checks credit
 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]

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.

Pre-screening request

Request

curl -v -X POST https://api.sandbox.datatrans.com/upp/jsp/XML_authorize.jsp \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d @- << EOF
<?xml version="1.0" encoding="UTF-8" ?>
<authorizationService version="6">
  <body merchantId="1000011011">
    <transaction refno="1234987">
      <request>
        <amount>150</amount>
        <currency>CHF</currency>
        <pmethod>MFA</pmethod>
        <sign>30916165706580013</sign>
        <reqtype>SCN</reqtype>
        <uppCustomerDetails>
          <uppCustomerGender>male</uppCustomerGender>
          <uppCustomerFirstName>Good</uppCustomerFirstName>
          <uppCustomerLastName>Customer</uppCustomerLastName>
          <uppCustomerStreet>via streccione 2</uppCustomerStreet>
          <uppCustomerCity>Lugano</uppCustomerCity>
          <uppCustomerZipCode>6900</uppCustomerZipCode>
          <uppCustomerBirthDate>1.1.1980</uppCustomerBirthDate>
          <uppCustomerLanguage>it</uppCustomerLanguage>
          <uppCustomerEmail>[email protected]</uppCustomerEmail>
        </uppCustomerDetails>
      </request>
    </transaction>
  </body>
</authorizationService>
EOF

Response

<?xml version='1.0' encoding='UTF-8'?>
<authorizationService version='6'>
  <body merchantId='1000011011' status='accepted'>
    <transaction refno='1234987' trxStatus='response'>
      <request>
        <amount>150</amount>
        <currency>CHF</currency>
        <pmethod>MFA</pmethod>
        <sign>30916165706580013</sign>
        <uppCustomerDetails>
          <uppCustomerGender>male</uppCustomerGender>
          <uppCustomerFirstName>Good</uppCustomerFirstName>
          <uppCustomerLastName>Customer</uppCustomerLastName>
          <uppCustomerStreet>via streccione 2</uppCustomerStreet>
          <uppCustomerCity>Lugano</uppCustomerCity>
          <uppCustomerZipCode>6900</uppCustomerZipCode>
          <uppCustomerBirthDate>1.1.1980</uppCustomerBirthDate>
          <uppCustomerLanguage>it</uppCustomerLanguage>
          <uppCustomerEmail>[email protected]</uppCustomerEmail>
        </uppCustomerDetails>
        <cardno/>
        <reqtype>NOA</reqtype>
      </request>
      <response>
        <responseCode>01</responseCode>
        <responseMessage>check successful</responseMessage>
        <uppTransactionId>181029150203341146</uppTransactionId>
        <authorizationCode>203351147</authorizationCode>
        <acqAuthorizationCode>0</acqAuthorizationCode>
        <virtualCardno>6004516000000000300</virtualCardno>
        <mfaAvailableCredit>49900</mfaAvailableCredit>
        <mfaMaximalCredit>150000</mfaMaximalCredit>
        <mfaCreditRefusalReason>None</mfaCreditRefusalReason>
        <mfaResponseCode>OK</mfaResponseCode>
        <mfaReference>6786554762</mfaReference>
      </response>
    </transaction>
  </body>
</authorizationService>

Settlement

Operation not available

Credit

Operation not available

Cancel

Operation 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>181029150203341146</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>181029150203341146</uppTransactionId>
        <reqtype>STX</reqtype>
      </request>
      <response itemNr='1'>
        <responseCode>11</responseCode>
        <responseMessage>Trx authentified</responseMessage>
        <refno>1234987</refno>
        <amount>150</amount>
        <currency>CHF</currency>
        <authorizationCode>203351147</authorizationCode>
        <pmethod>MFA</pmethod>
        <uppTransactionId>181029150203341146</uppTransactionId>
        <maskedCC>600451xxxxxxxxx0300</maskedCC>
        <aliasCC></aliasCC>
        <expm></expm>
        <expy></expy>
        <trxDate>20181029</trxDate>
        <trxTime>150203</trxTime>
        <trtype>05</trtype>
      </response>
    </transaction>
  </body>
</statusService>