Overview
The Numi Payment Methods node retrieves available payment methods for a user based on their phone number. It is designed to interact with the Numi service, making it useful in workflows where you need to fetch or filter payment options for a specific user, such as onboarding flows, payment processing automations, or customer support scenarios.
Example use cases:
- Displaying available payout methods to a user during a transaction.
- Filtering payment methods by name for reporting or validation.
- Integrating with other systems that require knowledge of a user's payment options.
Properties
| Name | Meaning |
|---|---|
| Operation | The action to perform. Options: "Get Payment Methods" (fetches Numi payment methods). |
| User Phone Number | The user's telephone number used to obtain their associated payment methods. (Required) |
| Payment Method Name | (Optional) Filter to return only the specified payment method by name. |
Output
The node outputs a JSON object with the following structure:
{
"paymentMethods": [
{
// Payment method details (structure depends on Numi API)
"name": "Method Name",
// ...other fields
}
// ...more methods if applicable
],
"response_paymentMethods": {
"message": " List of payment method names separated by hyphens and newlines, or single method name."
}
}
- paymentMethods: An array containing one or more payment method objects as returned by the Numi service. If a specific Payment Method Name is provided, this may contain only the matching method.
- response_paymentMethods.message: A string summarizing the names of the returned payment methods, either as a list or a single name.
Dependencies
- External Service: Requires access to the Numi partner API.
- Credentials: Needs a configured
numiKeyApicredential in n8n for authentication.
Troubleshooting
Common issues:
- Missing or invalid credentials: If the
numiKeyApicredential is not set up or is incorrect, the node will fail to connect to the Numi service. - Invalid phone number: If the provided User Phone Number does not exist or is incorrectly formatted, no payment methods will be returned.
- Payment Method Name not found: If a non-existent Payment Method Name is specified, the output may contain an empty array or undefined values.
Error messages and resolutions:
- Authentication failed: Check your
numiKeyApicredentials in n8n. - No payment methods found: Verify the User Phone Number and ensure the user has associated payment methods.
- Cannot read property 'name' of undefined: This may occur if a Payment Method Name is specified but not found; double-check the spelling and existence of the payment method.
Links and References
- n8n Documentation: Credentials
- n8n Documentation: Custom Nodes
- Numi API documentation (contact your Numi partner representative for access)