Example: Requesting an Przelewy24 Sale Using the REST API

Light Dark
Request
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
{"clientReferenceInformation": { "reconciliationId": "sale1077" }, "orderInformation": { "amountDetails": { "totalAmount": "1400", "currency": "EUR", "taxAmount": "5" }, "billTo": { "firstName": "Jane", "lastName": "Doe", "country": "PL", "address1": "xyz street 13 14", "email": "abc@email.com" }, "shipTo": { "country": "DE" } }, "paymentInformation": { "paymentType": { "name": "bankTransfer", "method": { "name": "p24" } }, "customer": { "customerid": "abcd" } }, "merchantInformation": { "successUrl": "https://www.example.org/feedback.php", "merchantDescriptor": { "name": "test-merchant-descriptor" } }, "recipientInformation": { "beneficiaryAddress": "13735 SE 184th PL RN 98058", "beneficiaryId": "ben_id", "beneficiaryName": "Vamseekrishna Puchakayala" }, "deviceInformation": { "ipAddress": "127.0.0.1" }, "buyerInformation": { "personalIdentification": [ { "id": "personal_Identification" } ], "mobilePhone": "8095803465" }, "consumerAuthenticationInformation": { "customerCardAlias": "SonaliShetty" }}
Response to a Successful Request
12345678910111213
{"processorInformation": { "transactionId": "839959787", "rawStatus": "PENDING", "paymentUrl": "https://r3.paygate.de/ti/simp24?tx=839959787&rs=aZV0Fxr00Jq8cymqHqAZADf3gc6NzZtu&cs=5c7489ff097b879ac3004eefbc9c09fad766f9a8e195505d8146d0014f2ce35f" }, "reconciliationId": "sale1077", "paymentInformation": { "binCountry": "PL" }, "message": "Successful", "status": "PENDING", "id": "6523329019126743604721", "submitTimeUtc": "2022-06-14T07:46:31Z"}