Fern integration (Finance). Imported from open-connector.
https://api.fernhq.com/customers
| Param | Type | Required | Description |
|---|---|---|---|
| pageToken | string | optional | Token for forward pagination. |
| pageSize | integer | optional | Number of items per page, from 1 to 100. |
| organizationId | string | optional | Organization ID to filter customers. |
/customers/{customerId}
| Param | Type | Required | Description |
|---|---|---|---|
| customerId | string | required | Unique identifier of the customer. |
| includeVerification | boolean | optional | Whether to include verification details. |
| includePaymentMethods | boolean | optional | Whether to include available payment methods in the response. |
/payment-accounts
| Param | Type | Required | Description |
|---|---|---|---|
| customerId | string | required | Customer to list payment accounts for. |
| pageToken | string | optional | Token for forward pagination. |
| pageSize | integer | optional | Number of items per page, from 1 to 100. |
/payment-accounts/{paymentAccountId}
| Param | Type | Required | Description |
|---|---|---|---|
| paymentAccountId | string | required | Unique identifier of the payment account. |
/exchange-rates
| Param | Type | Required | Description |
|---|---|---|---|
| sourceCurrency | string | required | Currency label or contract address for the source currency. |
| sourcePaymentMethod | string | required | Payment method for the source exchange rate. |
| sourceAmount | string | optional | Amount to be sent. When provided, Fern returns fees and destination amount. |
| destinationPaymentMethod | string | required | Payment method for the destination exchange rate. |
| destinationCurrency | string | required | Currency label or contract address for the destination currency. |
/transactions
| Param | Type | Required | Description |
|---|---|---|---|
| pageToken | string | optional | Token for forward pagination. |
| pageSize | integer | optional | Number of items per page, from 1 to 100. |
| customerId | string | optional | Customer to list transactions for. |
| paymentAccountId | string | optional | Payment account to list transactions for. |
| organizationId | string | optional | Organization to list transactions for. |
/transactions/{transactionId}
| Param | Type | Required | Description |
|---|---|---|---|
| transactionId | string | required | Unique identifier of the transaction. |