Treezor Documentation

website·Indexed 34 days ago

https://docs.treezor.com

Developer guides and API reference for Treezor's Banking as a Service (BaaS) platform. Includes documentation on authentication, mTLS, webhooks, and Strong Customer Authentication (SCA) implementation via Mobile SDKs for iOS and Android. Covers core workflows such as user creation, KYC simulation, wallet management, and fund transfers.

Tokens
199.3K
Snippets
698
Records
1.2K
Agent score
57%

What's inside Treezor

  1. Overview of X-Pay card digitization

    X-Pay is the process of tokenizing an existing card and storing it in a digital wallet (e.g., Apple Pay or Google Pay). This replaces sensitive card information with a Device Primary Account Number (DPAN), allowing wallet providers to process payments without holding the original Primary Account Number (PAN).

    Key constraints and requirements:

    • A card can have a maximum of 10 active or suspended digitizations.
    • The 'Online' option of the issued card must be activated for digitization to work.
    • Digitized cards can be temporarily or permanently disabled via the Treezor API.
    • Integration and certification with Apple Pay and Google Pay are independent of Treezor and must be handled by the developer directly with the wallet providers.
  2. Overview of Treezor API object relationships

    The Treezor API is structured around several core entities and their interdependencies. Key relationships include:

    • User Core: A User is linked to a Wallet, Documents, and the KYC (Know Your Customer) process. KYC further involves Pre-Review and Live verification.
    • Card Management: Users and Wallets are linked to Cards. Cards are associated with CardPrograms and have specific Restrictions, Limits, Options, Status, Group Limits, PIN Code management, and Renewal processes.
    • Card Transactions: Cards generate CardTransactions, which follow a lifecycle including Authorization (which may involve Strong Customer Authentication, External Authorization, or the Rule Engine), Refund, Settlement, and Reversal. CardTopUp allows funding a wallet via a card.
    • SEPA & Transfers: Wallets handle various payment types:
      • Payouts: SCTE (Credit Transfer), SCTEInst (Instant Credit Transfer), SDDR (Direct Debit Received), and MassSCTE (Mass Payout).
      • Payins: SCTR (Credit Transfer Received), SCTRInst (Instant Credit Transfer Received), SDDE (Direct Debit Emitted), and IntTransferR (Internal Transfer).
      • Recalls: SEPA transfers support recall mechanisms (e.g., SCTERecall, SCTRRecall).
      • Dependencies: SCTE and SDDR rely on Beneficiary objects; SDDE relies on Mandate objects. Beneficiary objects link to ExternalAccounts.
    • Other Funding/Transfers: Wallets support Check deposits and Wallet-to-Wallet (P2P) transfers.
  3. Overview of Treezor Card Acquiring

    Card Acquiring allows you to capture funds from a third-party payment card to credit a Treezor Wallet. This feature is not enabled by default; you must contact Treezor to activate payment products and obtain HiPay credentials. Treezor uses HiPay as its Payment Service Provider (PSP) and supports various payment products including CB, Visa, and Mastercard.
  4. Overview of Treezor KYC and KYB verification

    Treezor requires identity verification for both companies (KYB) and individual end users (KYC) to prevent financial system misuse and comply with anti-money laundering and countering the financing of terrorism (AML/CFT) rules. Verification is not a one-time event but a life cycle involving initial onboarding and periodic or event-driven reviews. Requirements vary based on the services provided, the operating country, and the user type.
  5. Overview of Treezor Wallet Types

    Wallets are accounts used to store funds and are required for all transactions in the Treezor environment. They are typically attached to end users (N:1 relationship), provide a dedicated IBAN, and allow for the setup of payment means like cards and transfers.
  6. Overview of Advanced Capture (Pre-authorization)

    Advanced capture allows you to authorize a specific amount on a tokenized third-party card and then capture those funds later. This is useful when the final capture amount is unknown at the time of authorization.

    Key constraints:

    • Authorized funds must be captured within 7 days; otherwise, remaining funds are automatically freed.
    • You can create one or more payins against a single authorization, provided the total does not exceed the authorized amount.
    • This feature is only available for specific payment products.

    Prerequisites:

    1. Tokenize the card.
    2. Create a Topup Card to associate the card with a user (if required).
  7. Overview of Treezor PCI DSS Integration

    Treezor uses Mutual Transport Layer Security (mTLS) to secure sensitive payment card data (PAN, PIN, CVV) in compliance with PCI DSS. This protocol ensures mutual authentication and encrypted communication for all PCI DSS endpoints. All requests must be sent to the following environment-specific URLs:

    • Sandbox: https://<your_company_name>.preprod.secure.treezor.co
    • Production: https://<your_company_name>.secure.treezor.co
  8. Overview of Open Banking Payment Initiation

    Open Banking Payment Initiation allows merchants to collect payments directly from customers' bank accounts using the Payment Initiation Service Provider (PISP) framework, bypassing card networks. The flow involves redirecting a customer to a secure checkout page to select their bank and authenticate via Strong Customer Authentication (SCA).

    Availability: This feature is not enabled by default and is only available on the Connect plan. Contact Treezor to enable it.

  9. Overview of Treezor Live Verification methods

    Live verification allows remote identity verification via live video to mitigate fraud. Treezor offers two mutually exclusive methods; you must contact Treezor to enable one of them:

    • Liveness: Requires a video of the user, their identity proof, and a SEPA transfer into their Treezor Wallet as an extra validation step.
    • Certified video (PVID): An ANSSI-certified method requiring a video of the user and identity proof with interactive challenges, removing the need for extra validation steps.

    Both methods use the same API endpoint. The KYC interface (colors, logo, redirection URL) can be customized by contacting Treezor.

  10. Overview of Treezor API Templating

    Treezor uses the Twig 3.x templating engine to allow developers to customize API outputs. Templates must be base64-encoded when uploaded.

    Implementation Constraints:

    • Layouts and Blocks are not supported.
    • Variables are limited to those explicitly provided by Treezor for a specific template.
    • CSS styling must be inlined (e.g., <a style="color:orange;">) or placed within a <style> tag in the <head> of the page.
  11. Overview of Treezor Card Acquiring Legacy Flow (V1)

    The Legacy Card Acquiring V1 feature supports CB, Visa, Mastercard, and Maestro cards. Payments processed via HiPay's API create Payin objects with a paymentMethodId of 25 and trigger payin.create webhooks. As a best practice for future migration to V2, Payin IDs should be stored as 36-character-long strings (UUIDv4).
  12. Overview of Treezor Scheduled Payments

    Scheduled Payment orders allow you to plan a payment execution in the future for either a unique operation or recurring ones. This feature supports both Payouts (SCTE) and Wallet-to-Wallet Transfers.

    Workflow:

    1. Create a Scheduled Payment order with specific settings (type, dates, etc.).
    2. The Transfer or Payout is executed on the scheduled date(s).

    Important Notes:

    • If a payment execution fails, the occurrence is cancelled and details are added to the failedPayment attribute of the Scheduled Payment object. The end user must then complete the payment manually.
    • This is currently a Beta feature; contact your Treezor Account Manager for access.