Given the flexibility of the Verify API, you can adapt your verification messages content based on certain use cases. For example, use a built-in PSD2 template to send a verification code for a payment transaction or rely on usage specific settings.

Built-in Templates

PSD2

The Payment Services Directive 2 (PSD2) is a European regulation that aims to make online payments more secure. The Verify API provides a built-in template for sending verification codes for PSD2 transactions.

{
  "target": {
    "type": "phone_number",
    "value": "+33612345678"
  },
  "options": {
    "template_id": "prelude:psd2",
    "variables": {
      "description": "Fluffy Unicorn",
      "amount": "99999.99",
      "currency": "EUR",
      "recipient": "Rainbow LLC"
    }
  }
}

This feature is subject to prior approval. Contact us to enable it on your account.