Delivery

Get delivery rates

post/api/v1/Delivery/Rates

Request

  • Base URL: https://api.payex.io
  • URL: https://api.payex.io/api/v1/Delivery/Rates
  • Auth: HTTP bearer

Request body

sender_postcodestring
sender_statestring

Refer to reference codes document mentioned above

sender_countrystring
receiver_postcodestring
receiver_statestring

Refer to reference codes document mentioned above

receiver_countrystring
delivery_type'p' | 'd'

p - pickup, d - drop-off

parcel_type'p' | 'd'

p - parcel, d - document

weightnumber double
pickup_datestring date
pickup_timestring

Example request

[
  {
    "sender_state": "kul",
    "sender_country": "MY",
    "receiver_state": "kul",
    "receiver_country": "MY",
    "weight": 1,
    "pickup_time": "12:00"
  }
]

Response

Success

status'00' | '99'
messagestring

Example response

{
  "result": [
    [
      {
        "status": "Success",
        "rate": 5,
        "service_detail": "Pick Up"
      }
    ]
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.