DebtorAccountReference
Reference to a debtor account for the collect-payment and transfer services.
Pass an IbanReference for a plain IBAN, or — for the collect-payment service — an EncryptedIbanReference ciphertext your backend produced with its API secret following the Opaque Data protocol so the frontend never sees the underlying IBAN.
client.collectPayment(ticket, credentials, account = IbanReference("NL58YAXI1234567890"))Content copied to clipboard
For an encrypted handoff use EncryptedIbanReference:
client.collectPayment(
ticket,
credentials,
account = EncryptedIbanReference(base64FromBackend),
)Content copied to clipboard