Example: Requesting an MyBank Sale Using the REST API {#ppro-sale-ex-mybank-rest}
=================================================================================

Request

```
{
    "clientReferenceInformation": {
        "code": "sale1077"
    },
    "orderInformation": {
        "amountDetails": {
            "totalAmount": "1055",
            "currency": "EUR",
            "taxAmount": "900"
        },
        "billTo":{
        	"country":"IT",
        	"firstName":"John",
        	"lastName":"Doe"
         }
    },
    "paymentInformation": {
        "paymentType": {
            "name": "bankTransfer",
            "method": {
                "name": "mybank"
            }
        }
    },
    "processingInformation":{
    	"transactionTimeout" :"6"
    },
    "merchantInformation": {
        "successUrl": "https://www.example.org/feedback.php",
        "merchantDescriptor": {
            "name": "DynDescriptor"
        }
    }
}
```

Response to a Successful Request

```
{
    "processorInformation": {
        "transactionId": "1169468614",
        "rawStatus": "PENDING",
        "paymentUrl": "https://r3.paygate.de/ti/simmybank?tx=1169468614&rs=qPoVWoAobZDyD94gDpxAi0HoXvn2sgjl&cs=892d439ffd5e7ab6a916127339c3fbb333a53cfb0152d73c6270d9dc3cf3f92e"
    },
    "paymentInformation": {
        "binCountry": "IT"
    },
    "message": "Successful",
    "status": "PENDING",
    "id": "6523329019126743603301",
    "submitTimeUtc": "2022-06-06T12:23:01Z"
}
```

