Skip to content

    We are getting a 400 error for this request, what could be the reason?

    URL: https://xpay.nexigroup.com/api/phoenix-0.0/psp/api/v1/orders/hpp

    Code example

    Request
    
    {
      "Order": {

    The cause of the error in this case is that the parameters all start with an uppercase letter. Request parameters are case-sensitive, which is why the error is returned.

    For this scenario as well, the error received is a 400 because an incorrect request was sent.

    In this case, the correct request should be like this:

    Code example

    {
      "order": {
        "currency": "EUR",
        "orderId": "7008492",