Attaching a template
To attach a template, add ausage_config object to the SINGLE product and set its spend_rules_template_id to the identifier of the template you want to apply.
Example Prepaid Visa Card order with a spend rule template
usage_config on an order, it is returned in the order details so you can confirm which template was applied.
A spend rule template defines the spending pattern enforced on a card, based
on MCC rules — each rule either allows or blocks transactions for a given
merchant category. Multiple rules can be bundled into a single template, and
one template is applied per card. Templates are authored by Runa. If you have
a business case that needs one, reach out to your Account Manager or email
support@runa.io — we’ll create the template for you.
usage_config only applies to prepaid Visa cards. If you set it on any other
product it is ignored.