Card verification operations for the Paysafe Payments API.
Verifications check that a card is valid without charging it.
Use transactionType: VERIFICATION in your payment handle.
Base path: /paymenthub/v1/verifications (flat, no account ID in the URL).
Summary
Functions
@spec create(Paysafe.Config.t(), map(), keyword()) :: {:ok, map()} | {:error, Paysafe.Error.t()}
Create a card verification.
Parameters
:merchant_ref_num(required) — Unique reference.:payment_handle_token(required) — Token from aVERIFICATIONhandle.:currency_code— ISO 4217 currency code.:amount— Some payment methods (e.g. Mazooma) require an amount even for verification calls; most do not.
@spec get(Paysafe.Config.t(), String.t(), keyword()) :: {:ok, map()} | {:error, Paysafe.Error.t()}
Get a verification by ID.