Through this endpoint is possible to create a Paypal Express URL

🚧

Important!

Keep the body params following the same sequence as you see above!

Example of API Response:

{
    "transactionId": "C7E04BF6-068C-31BA-6864-599CEFACD020",
    "operationId": 11,
    "status": 0,
    "message": "Paypal URL has been generated successfully.",
    "log": "",
    "errorCode": "",
    "order": {
        "reference": "123456789",
        "totalAmount": 10000,
        "currency": "986",
        "dateTime": "1550495272"
    },
    "processor": {
        "acquirer": "paypal",
        "acquirerId": "8",
        "details": {
            "id": "EC-9220088156300211X",
            "amount": "10000",
            "date": "2019-02-18T10:07:52-03:00"
        },
        "urlReturn": "https:\/\/www.sandbox.paypal.com\/cgi-bin\/webscr?cmd=_express-checkout&token=EC-9220088156300211X"
    }
}
{
    "transactionId": null,
    "status": {
        "code": 409,
        "message": "ERROR - XML"
    },
    "result": {
        "error": {
            "code": 101,
            "action": "XML",
            "message": "XML ERROR",
            "details": "<![CDATA[Element 'merchantKey': [facet 'minLength'] The value has a length of '0'; this underruns the allowed minimum length of '10'.\n]]>",
            "moreInfo": "<![CDATA[Please check fields format and special character.]]>"
        }
    }
}
Language
Click Try It! to start a request and see the response here!