Skip to main content

Step 1. Request Cashier Payment Page

Merchant needs to create a link to request Cashier Payment Page for its Customers.

URL Structure

[cashierBaseURL]/[brand]/index.html?jwt=[jwt]&lang=[lang]&version=[version]&source=[source]&gtm=[gtm]&variable1=[variable1]&variable2=[variable2]&variable3=[variable3]

NameTypeSize/FormatMandatoryDescription
cashierBaseURLstringChar (256) Format: URLtrueCashier Deposit page base URL: Live: https://deposit.cashier.fintech360.tech
brandstringChar (256) Format: only latin charstrueUnique Merchant identifier to be used for the integration purposes. Provided by Cashier Customer Support Team.
jwtstringChar (1024) Format: JWT tokentrueJWT token encapsulated customer data.
langstringChar (2) Format: ISO 639-1 CodefalseOne of Deposit Page supported language requested by merchant. Default: en
versionstringDefault: 3falseCashier API version.
sourcestringChar (256) Format: enumfalseSource from Deposit page is requested. Possible values: "WEB", "MOBILE_APP", "MOBILE_WEB".
gtmstringN/AfalseGTM Identifier (Google Tag Manager Identifier) to be sent within notification to CRM.
variable1stringfalseCustom variable forwarded from Deposit page to Merchant system via Notifications Webhooks.
variable2stringfalseCustom variable forwarded from Deposit page to Merchant system via Notifications Webhooks.
variable3stringfalseCustom variable forwarded from Deposit page to Merchant system via Notifications Webhooks.

Deposit page events

Deposit page sends the following events:

  • "height" event;
  • "status" event.

To get the Deposit page content height, you need to subscribe to the “height” event,

Example code

function handleDepositSize(evt) {

if (evt.data.type === 'height') {
iframe.height = evt.data.height;
}
}

window.addEventListener('message', handleDepositSize);

To receive the deposit status(only success is implemented as of now), you must subscribe to the “event” status

Example code

function handleDepositStatus(evt) {

if (evt.data.status === 'success') {
do something
}
window.addEventListener('message', handleDepositStatus);