Error while paying with admin api

Cesare
New Member
1 0 0

Hi,

I'm trying to complete a payment with payment admin api but with this request:

{
  "payment": {
    "amount": "9.99",
    "unique_token": "b60f511b-434e-4410-8822-8eba62dd601a",
    "session_id": "west-b444a65217194a9c2020be8cfa390597",
    "request_details": {
      "ip_address": "127.0.0.1",
      "accept_language": "en-GB",
      "user_agent": "xxx"
    }
  }
}

I get this error:

{
  "errors": {
    "checkout": {
      "shipping_line": [
        {
          "code": "blank",
          "message": "can't be blank",
          "options": {
            
          }
        },
        {
          "code": "blank",
          "message": "can't be blank",
          "options": {
            "code": null
          }
        }
      ]
    }
  }
}

X-Request-ID=[40a317fe-660f-44ce-8eab-8cf3291c78d2]

Any idea of the cause?

 

0 Likes