Invoice hosted page
Last updated
Last updated
An invoice hosted page is a web page that you can embed into your website to display the payment details of a particular invoice to a customer.
There is a hosted_page_url
attribute in the invoice details that contains its hosted page URL.
You can apply different settings to hosted pages appearance like a specific locale by adding its acronym to the end of the hosted_page_url
value via a query parameter. For example:
https://business-hosted.cryptopay.me/invoices/b5cb2b8a-aa26-4b6b-b578-0fcc46c1f3a0
+ ?locale=jp
Below is a list of variables you can use.
As soon as a sender broadcasts the transaction, you'll receive a callback with the following attributes:
"event": "transaction_created"
You'll receive one more callback when the invoice changes its status to one of the final ones (completed
or refunded
) upon transaction confirmation:
"event": "status_changed"
Parameter | Type | Description |
---|---|---|
locale
string
Can be en
, de
, fr
, es
, pt
, ru
and jp
which means English, German, French, Spanish, Portuguese, Russian or Japanese language.
If parameter is not set, the language will be taken from the browser settings.
back_button
boolean
Show/hide a back button on the page. This might be useful if you redirect customers to hosted pages. false
if set by default