A multibanco payment request is a standard payment request with extra elements to accommodate the multibanco form details:
amount
billingAddress
deliveryDate
merchantAccount
reference
selectedBrand
– For multibanco payments, the corresponding value is:multibanco
.shopperName
For information on available fields, refer to PaymentRequest.
Code examples
Request
{ "amount":{ "value":1000, "currency":"EUR" }, "billingAddress":{ "city":"Lisbon", "country":"PT", "houseNumberOrName":"999", "postalCode":"2540-076", "stateOrProvince":"PT", "street":"Rua do Comércio" }, "deliveryDate":"2018-10-29T23:00:00.000Z", "reference":"Teste Multibanco", "merchantAccount":"TestMerchant", "selectedBrand":"multibanco", "shopperName":{ "firstName":"José", "lastName":"Silva" } }
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soap:Body> <ns1:authorise xmlns:ns1="http://payment.services.adyen.com" xmlns:ns2="http://common.services.adyen.com"> <paymentRequest> <amount> <ns2:currency>EUR</ns2:currency> <ns2:value>1000</ns2:value> </amount> <billingAddress> <ns2:city>Lisbon</ns2:city> <ns2:country>PT</ns2:country> <ns2:houseNumberOrName>999</ns2:houseNumberOrName> <ns2:postalCode>2540-076</ns2:postalCode> <ns2:stateOrProvince>PT</ns2:stateOrProvince> <ns2:street>Rua do Comércio</ns2:street> </billingAddress> <ns1:deliveryDate>2018-10-29T23:00:00.000Z</ns1:deliveryDate> <ns1:merchantAccount>TestMerchant</ns1:merchantAccount> <ns1:reference>Teste MultiBanco</ns1:reference> <ns1:selectedBrand>multibanco</ns1:selectedBrand> <ns1:shopperName> <ns2:firstName>José</ns2:firstName> <ns2:lastName>Silva</ns2:lastName> </ns1:shopperName> </paymentRequest> </ns1:authorise> </soap:Body> </soap:Envelope>
amount.value=1000&amount.currency=EUR&billingAddress.city=Lisbon&billingAddress.country=PT&billingAddress.houseNumberOrName=999&billingAddress.postalCode=2540-076&billingAddress.stateOrProvince=PT&billingAddress.street=Rua+do+Comércio&deliveryDate=2018-10-29T23:00:00.000Z&merchantAccount=TestMerchant&reference=Teste+Multibanco&selectedBrand=multibanco&shopperName.firstName=José&shopperName.lastName=Silva
Response
{ "additionaldata":{ "comprafacil.entity":"11249", "comprafacil.amount":"10.00", "comprafacil.deadline":"3", "comprafacil.reference":"505429170" }, "pspReference":"8813760397300101", "resultCode":"Received" }
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://payment.services.adyen.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soap:Body> <ns1:authoriseResponse> <ns1:paymentResult> <ns1:additionalData> <ns1:entry> <ns1:key xsi:type="xsd:string">comprafacil.entity</ns1:key> <ns1:value xsi:type="xsd:string">11249</ns1:value> </ns1:entry> <ns1:entry> <ns1:key xsi:type="xsd:string">comprafacil.amount</ns1:key> <ns1:value xsi:type="xsd:string">10.00</ns1:value> </ns1:entry> <ns1:entry> <ns1:key xsi:type="xsd:string">comprafacil.deadline</ns1:key> <ns1:value xsi:type="xsd:string">3</ns1:value> </ns1:entry> <ns1:entry> <ns1:key xsi:type="xsd:string">comprafacil.reference</ns1:key> <ns1:value xsi:type="xsd:string">505429170</ns1:value> </ns1:entry> </ns1:additionalData> <ns1:pspReference>8813760397300101</ns1:pspReference> <ns1:resultCode>Received</ns1:resultCode> </ns1:paymentResult> </ns1:authoriseResponse> </soap:Body> </soap:Envelope>
additionalData.comprafacil.entity=11249&additionalData.comprafacil.amount=&additionalData.comprafacil.deadline=3&additionalData.comprafacil.reference=505429170&pspReference=8813760397300101&resultCode=Received