diff --git a/flows/actions/transfer_airtime.go b/flows/actions/transfer_airtime.go index 153eaee80..ffbb2796a 100644 --- a/flows/actions/transfer_airtime.go +++ b/flows/actions/transfer_airtime.go @@ -65,8 +65,8 @@ func (a *TransferAirtimeAction) transfer(run flows.Run, logEvent flows.EventCall // fail if we don't have a contact contact := run.Contact() - // fail if the contact doesn't have a phone URN - telURNs := contact.URNs().WithScheme(urns.Phone.Prefix) + // fail if the contact doesn't have a phone URN or whatsap URN + telURNs := contact.URNs().WithScheme(urns.Phone.Prefix, urns.WhatsApp.Prefix) if len(telURNs) == 0 { return nil, errors.New("can't transfer airtime to contact without a phone number") }