Skip to main content

Hosted Cashier

Payin

Request a payment session using the payment-session endpoint. The response of this request includes a redirect URL to the Hosted Cashier UI.

See the example payload below. More details for this endpoint can be found in the API reference.

{
"country": "TR",
"currency": "TRY",
"amount": 3130,
"redirectUrl": "https://merchant.io/where-to-go",
"language": "EN",
"customer": {
"name": "John Doe",
"email": "[email protected]",
"phone": "+34666999666",
"userDevice": "MOBILE",
"userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36",
"ip": "84.232.140.77",
"address": {
"street": "32 Windsor Gardens",
"streetNumber": "24",
"country": "GB",
"zipCode": "W9 3RG",
"city": "London",
"state": "Great London."
}
}
}

Response:

{
"cashierUrl": "https://cashier.test.kasha.tech?sessionId=8011b52c-4e45-4075-840f-7a4a304676a3",
"transactionId": "96f84290-2252-4c4e-be9e-0cd4ae90d52e"
}

Step 2. Select payment option

User expanded EasyP2P as a payment option and all suboptions are listed.

EasyP2P hybrid

Step 3. Complete the payment

User selected a suboption and is forwarded to next page where additional instructions are given. The additional information the user are asked to provide in this step will vary between payment options and countries. Testing data for these values can be found here.

EasyP2P hybrid

Step 4. Status page

The payment will be in processing status until the transaction is confirmed by the network. When clicking “RETURN TO ACCOUNT” the user will be redirected back to redirectURL provided in step 1.

EasyP2P hybrid