POST
/
checkout
/
seamless
Seamless checkout yönlendirmesi hazırla
curl --request POST \
  --url https://api.hemenmagaza.com/v1/checkout/seamless \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "cart_token": "<string>",
  "return_url": "<string>",
  "cancel_url": "<string>"
}
'
{
  "redirect_url": "<string>"
}

Authorizations

Authorization
string
header
required

Authorization: Bearer YOUR_API_TOKEN

Body

application/json
cart_token
string
required
Example:

"cart_8f1f7c"

return_url
string<uri>
required
Example:

"https://velunamora.com/checkout/success"

cancel_url
string<uri>
Example:

"https://velunamora.com/cart"

Response

Redirect bilgisi.

redirect_url
string<uri>
required
Example:

"https://velunamora.com/checkout/seamless?cart_token=cart_8f1f7c"