Powerpay Credit Check
Payment Process | Integration | ||
---|---|---|---|
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
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>
Updated over 2 years ago