Products · Dash API
Contacts
Let the person choose a phone number from their contacts.
dash.contacts.pickPhone
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
| Field | Type | What it is |
|---|---|---|
name | string | |
phone | string | As the contact has it, such as "+232 76 123456" or "076 123456". |
Keep reading
AccountSign the person in to your dot with their Dash account.PaymentsTake a payment in Dash's own payment sheet, by linked account, card or mobile money, and read it back later.RemindersRemind the person with a notification that opens your dot at one of its pages, once or on a schedule.NetworkCheck whether the phone is online, and send requests, downloads and uploads to your server.