This repository was archived by the owner on May 30, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
This repository was archived by the owner on May 30, 2025. It is now read-only.
Typing issues #87
Copy link
Copy link
Open
Description
1 TransferCreate type:
facilitatorFee,description,metadatashould be optional.- in
sourceanddestinationobject: onlypaymentMethodIDshould be required.
So it match the example here
Lines 259 to 280 in 5cb81da
* @example * const moov = new Moov(...); * try { * const transfer = { * source: { paymentMethodID: "..." }, * destination: { paymentMethodID: "..." }, * amount: { * value: 3215, // $32.15 * currency: "USD" * }, * facilitatorFee: { * value: 8, // $0.8 * currency: "USD" * }, * description: "Yoga class" * }; * const { transferID } = moov.transfers.create(transfer); * } catch (err) { * // ... * } * */
as well as the API documentation
2 AccountCreate type:
metadata,termsOfService,foreignID,customerSupport,settingsshould be optionalmode:production | sandoxis missing should be added as a required parameters as it's required in the API documentation.- in
profile > IndividualProfile:Phone,Address,birthDateProvided,governmentIDProvidedshould be optional (with default values for the booleans)
3 API documentation
The api documentation (transfers/create section) is not matching the TransferCreate object. The transferID should be removed from the documentation as it's misleading or maybe we can create a transfer using another transfer but in that case I am not sure I understand.

Thanks ! 🙏
sgraham3311, houserx-jmcc, curiousercreative and Orrin-Manning
Metadata
Metadata
Assignees
Labels
No labels