@bebapps/rapyd-sdk
Version:
An un-official [Rapyd](https://rapyd.net) SDK for Node.js.
37 lines (35 loc) • 882 B
text/typescript
import { WalletContact } from '../types/WalletContact';
export interface CreateWalletRequest {
/**
* Describes details about the wallet contacts. Array of objects. See [Wallet Contact Object](ref:wallet-contact-object).
*/
contact: Partial<WalletContact>;
/**
* Email address of the wallet owner.
*/
email?: string;
/**
* Rapyd Wallet ID defined by the customer or end user. Must be unique.
*/
ewallet_reference_id?: string;
/**
* First name of the Rapyd Wallet owner.
*/
first_name?: string;
/**
* Family name of the Rapyd Wallet owner.
*/
last_name?: string;
/**
* A JSON object defined by the client.
*/
metadata?: object;
/**
* Phone number of the wallet owner in E.164 format.
*/
phone_number?: string;
/**
* Type of wallet: **company** or **person**. Default is **person**.
*/
type?: string;
};