Unregister alias
At first you need to generate transaction:
$subscription = SimPay::payment()->blikAliases()->unregister()
// required one of:
->type(\SimPay\Laravel\Enums\Payment\BlikAlias\BlikAliasType::PAYID)
->value('ALIAS_VALUE')
// or
->uuid('alias id')
// optional fields
->reason('reason for alias cancellation')
// execute() is required to unregister alias
->execute();Response will be true or thrown SimPayException (see Exceptions).
Last updated