Products · Dash API

Contacts

Let the person choose a phone number from their contacts.

dash.contacts.pickPhone

TypeScript
dash.contacts.pickPhone(callOptions?: CallOptions): DashRequest<PickedContact>

Shows the phone's contacts for the person to choose one phone number, such as the number to send money to. The dot sees only the chosen contact. Rejects with cancelled if the person closes it.

Permission in dot.json: contacts.

Types: PickedContact

Types

PickedContact

FieldTypeWhat it is
namestring
phonestringAs the contact has it, such as "+232 76 123456" or "076 123456".

Keep reading