...
The CAS base configuration must be changed to offer PDF wallets. The webhook you create here will be sent to your customers and will (essentially) be exposed to the public. Choose carefully.
Determine the URL path. In this example we’ll use:
https://yourcasdomain.com/pdf_wallet
It must include the domain for your CAS (e.g.
yourcasdomain.com
).Any arbitrary path can be used, BUT
it MUST be used consistently, and
it cannot conflict with another path,
e.g.
https://yourcasdomain.com/terminals
would conflict.
The protocol must include (and support) HTTPS.
Create/edit the
/batm/config/webhooks
file and place the URL path as a setting:
...
It’s also possible to do it via Cloudflare (instead): https://generalbytes.atlassian.net/l/cp/VLSWb0XA
test URL example:
https://cas-rest-api.yourcasdomain.com/api/v1/crypto-wallets/test
the
pdfWalletLinkUrl
should match your adjusted test URL (without the “test” suffix), becausethat is the link that will be sent to your customers.
Yet another (undocumented) option: ngrok: https://ngrok.com/product/secure-tunnels
...