Payment/Checkout UI

After an invoice is created you need to redirect the customer's browser to the payment/checkout URL. You can find the URL to redirect here.

The following params need to be passed in a query string:

Param

Required

Description

invoice-id

Yes

Invoice identifier

name

No

Description of the selling item/product/service

success-url

No

URL to redirect to on success

fail-url

No

URL to redirect to on failure

lang

No

ru or en init language (will be ruby default)

Example:

https://checkout.smartypay.io/invoice?invoice-id=1776bcc7-1044-40cb-9e2b-c15d05afb91e&name=%D0%A0%D0%B5%D0%BC%D0%B5%D0%BD%D1%8C+%D0%BA%D0%BE%D0%B6%D0%B0%D0%BD%D1%8B%D0%B9&success-url=https%3A%2F%2Fncps-ui.dev.mnxsc.tech%2Fmerchant-demo.html%3Fdone%3Dtrue%26item-id%3D2&fail-url=https%3A%2F%2Fncps-ui.dev.mnxsc.tech%2Fmerchant-demo.html

Last updated