POST /v2/bookings/finalPayment

Return payment link for booking.

Resource information

Authentication No
Request Formats xml, json
Response Formats xml, json
HTTP Method GET
Request Object FinalPayment
Response Object Status result
API Version v2

Example Request

https://api.poplidays.com/v2/bookings/finalPayment

json post body

{
"bookingId":111,
"urlSuccess":"https://www.google.com",
"urlFailure":"https://www.google.com"
}

xml post body

<finalpayment>
    <bookingId>111</bookingId>
    <urlSuccess>https://www.google.com"</urlSuccess>
    <urlFailure>https://www.google.com"</urlFailure>
</finalpayment>

Example Response

json

{"status":"ok","message":"http://poplidays.com/ws/bookings/111/mercanetpartnerwithoutpayment?normalurl=https%3A%2F%2Fwww.google.com&cancelurl=https%3A%2F%2Fwww.google.com"}

xml

<statusresult><status>ok</status><message>http://poplidays.com/ws/bookings/111/mercanetpartnerwithoutpayment?normalurl=https%3A%2F%2Fwww.google.com&cancelurl=https%3A%2F%2Fwww.google.com</message></statusresult>