Mayar icon

Mayar

Aksi API Mayar: balance, invoice, coupon, customer

Actions10

Balance → Get

AI-generated

Summary

Fetches account balance via GET /balance.

Inputs

  • options — Collection of runtime configuration for the request.

Output shape

An array containing one n8n item with a json property holding the API response body.

If the debug option is enabled, the response object includes _meta { method: 'GET', path: '/balance' } before wrapping.

Examples

Example 1: Normal execution with default options.

Leave all option fields at their defaults (continueOnFail=false, maxRetries=0, retryDelayMs=500, debug=false). The node performs a single GET request to /balance and returns the JSON response as an n8n item. If the API returns an error, the node throws a NodeOperationError (or NodeApiError if the error has response/statusCode/status properties).

Links

Discussion