Create session

Retrieve URL for hosted payment page

post/order.json (COPY)

Request

  • Base URL
    https://secure.telr.com/gateway
  • URL
    https://secure.telr.com/gateway/order.json (COPY)
  • Auth
    none required

Headers

Content-Typestring required

Request body

methodstring required

The request method being used. Set to ‘create’ to generate a new transaction.

storeinteger required

Your store ID. Numeric value only.

authkeystring required

Your authentication key

paymethodstring

The paymethod as card,tabby and paypal. This is applicable only for seamless flow

cardtokenstring

Tokenized representation of a card obtained from the cardtoken.json API used along with paymethod as card.

framedinteger

Framed display. 0 - Standard full screen payment page, 1 - Framed payment page, 2 - Framed payment page as the initial display, but the process can break out of the frame to a full page display if required by any payment method

Response

200

OR

Example response

{
  "method": "create",
  "order": {
    "ref": "OrderRef",
    "url": "https://secure.telr.com/gateway/process.html?o=OrderRef"
  }
}

Changes

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