# VeloPayments::PayeesApi All URIs are relative to *https://api.sandbox.velopayments.com* Method | HTTP request | Description ------------- | ------------- | ------------- [**delete_payee_by_id_v1**](PayeesApi.md#delete_payee_by_id_v1) | **DELETE** /v1/payees/{payeeId} | Delete Payee by Id [**delete_payee_by_id_v3**](PayeesApi.md#delete_payee_by_id_v3) | **DELETE** /v3/payees/{payeeId} | Delete Payee by Id [**delete_payee_by_id_v4**](PayeesApi.md#delete_payee_by_id_v4) | **DELETE** /v4/payees/{payeeId} | Delete Payee by Id [**get_payee_by_id_v1**](PayeesApi.md#get_payee_by_id_v1) | **GET** /v1/payees/{payeeId} | Get Payee by Id [**get_payee_by_id_v2**](PayeesApi.md#get_payee_by_id_v2) | **GET** /v2/payees/{payeeId} | Get Payee by Id [**get_payee_by_id_v3**](PayeesApi.md#get_payee_by_id_v3) | **GET** /v3/payees/{payeeId} | Get Payee by Id [**get_payee_by_id_v4**](PayeesApi.md#get_payee_by_id_v4) | **GET** /v4/payees/{payeeId} | Get Payee by Id [**list_payee_changes**](PayeesApi.md#list_payee_changes) | **GET** /v1/deltas/payees | List Payee Changes [**list_payee_changes_v3**](PayeesApi.md#list_payee_changes_v3) | **GET** /v3/payees/deltas | List Payee Changes [**list_payee_changes_v4**](PayeesApi.md#list_payee_changes_v4) | **GET** /v4/payees/deltas | List Payee Changes [**list_payees_v1**](PayeesApi.md#list_payees_v1) | **GET** /v1/payees | List Payees V1 [**list_payees_v3**](PayeesApi.md#list_payees_v3) | **GET** /v3/payees | List Payees [**list_payees_v4**](PayeesApi.md#list_payees_v4) | **GET** /v4/payees | List Payees [**payee_details_update_v3**](PayeesApi.md#payee_details_update_v3) | **POST** /v3/payees/{payeeId}/payeeDetailsUpdate | Update Payee Details [**payee_details_update_v4**](PayeesApi.md#payee_details_update_v4) | **POST** /v4/payees/{payeeId}/payeeDetailsUpdate | Update Payee Details [**v1_payees_payee_id_remote_id_update_post**](PayeesApi.md#v1_payees_payee_id_remote_id_update_post) | **POST** /v1/payees/{payeeId}/remoteIdUpdate | Update Payee Remote Id [**v3_payees_payee_id_remote_id_update_post**](PayeesApi.md#v3_payees_payee_id_remote_id_update_post) | **POST** /v3/payees/{payeeId}/remoteIdUpdate | Update Payee Remote Id [**v4_payees_payee_id_remote_id_update_post**](PayeesApi.md#v4_payees_payee_id_remote_id_update_post) | **POST** /v4/payees/{payeeId}/remoteIdUpdate | Update Payee Remote Id ## delete_payee_by_id_v1 > delete_payee_by_id_v1(payee_id) Delete Payee by Id
This API will delete Payee by Id (UUID). Deletion by ID is not allowed if:
* Payee ID is not found
* If Payee has not been on-boarded
* If Payee is in grace period
* If Payee has existing payments
Please use V3 instead.
### Example ```ruby # load the gem require 'velopayments' # setup authorization VeloPayments.configure do |config| # Configure OAuth2 access token for authorization: OAuth2 config.access_token = 'YOUR ACCESS TOKEN' end api_instance = VeloPayments::PayeesApi.new payee_id = '2aa5d7e0-2ecb-403f-8494-1865ed0454e9' # String | The UUID of the payee. begin #Delete Payee by Id api_instance.delete_payee_by_id_v1(payee_id) rescue VeloPayments::ApiError => e puts "Exception when calling PayeesApi->delete_payee_by_id_v1: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **payee_id** | [**String**](.md)| The UUID of the payee. | ### Return type nil (empty response body) ### Authorization [OAuth2](../README.md#OAuth2) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: Not defined ## delete_payee_by_id_v3 > delete_payee_by_id_v3(payee_id) Delete Payee by IdThis API will delete Payee by Id (UUID). Deletion by ID is not allowed if:
* Payee ID is not found
* If Payee has not been on-boarded
* If Payee is in grace period
* If Payee has existing payments
### Example ```ruby # load the gem require 'velopayments' # setup authorization VeloPayments.configure do |config| # Configure OAuth2 access token for authorization: OAuth2 config.access_token = 'YOUR ACCESS TOKEN' end api_instance = VeloPayments::PayeesApi.new payee_id = '2aa5d7e0-2ecb-403f-8494-1865ed0454e9' # String | The UUID of the payee. begin #Delete Payee by Id api_instance.delete_payee_by_id_v3(payee_id) rescue VeloPayments::ApiError => e puts "Exception when calling PayeesApi->delete_payee_by_id_v3: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **payee_id** | [**String**](.md)| The UUID of the payee. | ### Return type nil (empty response body) ### Authorization [OAuth2](../README.md#OAuth2) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: Not defined ## delete_payee_by_id_v4 > delete_payee_by_id_v4(payee_id) Delete Payee by IdThis API will delete Payee by Id (UUID). Deletion by ID is not allowed if:
* Payee ID is not found
* If Payee has not been on-boarded
* If Payee is in grace period
* If Payee has existing payments
### Example ```ruby # load the gem require 'velopayments' # setup authorization VeloPayments.configure do |config| # Configure OAuth2 access token for authorization: OAuth2 config.access_token = 'YOUR ACCESS TOKEN' end api_instance = VeloPayments::PayeesApi.new payee_id = '2aa5d7e0-2ecb-403f-8494-1865ed0454e9' # String | The UUID of the payee. begin #Delete Payee by Id api_instance.delete_payee_by_id_v4(payee_id) rescue VeloPayments::ApiError => e puts "Exception when calling PayeesApi->delete_payee_by_id_v4: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **payee_id** | [**String**](.md)| The UUID of the payee. | ### Return type nil (empty response body) ### Authorization [OAuth2](../README.md#OAuth2) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: Not defined ## get_payee_by_id_v1 > Payee get_payee_by_id_v1(payee_id, opts) Get Payee by IdGet Payee by Id
Please use V3 instead.
### Example ```ruby # load the gem require 'velopayments' # setup authorization VeloPayments.configure do |config| # Configure OAuth2 access token for authorization: OAuth2 config.access_token = 'YOUR ACCESS TOKEN' end api_instance = VeloPayments::PayeesApi.new payee_id = '2aa5d7e0-2ecb-403f-8494-1865ed0454e9' # String | The UUID of the payee. opts = { sensitive: true # Boolean | Optional. If omitted or set to false, any Personal Identifiable Information (PII) values are returned masked. If set to true, and you have permission, the PII values will be returned as their original unmasked values. } begin #Get Payee by Id result = api_instance.get_payee_by_id_v1(payee_id, opts) p result rescue VeloPayments::ApiError => e puts "Exception when calling PayeesApi->get_payee_by_id_v1: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **payee_id** | [**String**](.md)| The UUID of the payee. | **sensitive** | **Boolean**| Optional. If omitted or set to false, any Personal Identifiable Information (PII) values are returned masked. If set to true, and you have permission, the PII values will be returned as their original unmasked values. | [optional] ### Return type [**Payee**](Payee.md) ### Authorization [OAuth2](../README.md#OAuth2) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ## get_payee_by_id_v2 > PayeeResponseV2 get_payee_by_id_v2(payee_id, opts) Get Payee by IdGet Payee by Id
Please use V3 instead.
### Example ```ruby # load the gem require 'velopayments' # setup authorization VeloPayments.configure do |config| # Configure OAuth2 access token for authorization: OAuth2 config.access_token = 'YOUR ACCESS TOKEN' end api_instance = VeloPayments::PayeesApi.new payee_id = '2aa5d7e0-2ecb-403f-8494-1865ed0454e9' # String | The UUID of the payee. opts = { sensitive: true # Boolean | Optional. If omitted or set to false, any Personal Identifiable Information (PII) values are returned masked. If set to true, and you have permission, the PII values will be returned as their original unmasked values. } begin #Get Payee by Id result = api_instance.get_payee_by_id_v2(payee_id, opts) p result rescue VeloPayments::ApiError => e puts "Exception when calling PayeesApi->get_payee_by_id_v2: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **payee_id** | [**String**](.md)| The UUID of the payee. | **sensitive** | **Boolean**| Optional. If omitted or set to false, any Personal Identifiable Information (PII) values are returned masked. If set to true, and you have permission, the PII values will be returned as their original unmasked values. | [optional] ### Return type [**PayeeResponseV2**](PayeeResponseV2.md) ### Authorization [OAuth2](../README.md#OAuth2) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ## get_payee_by_id_v3 > PayeeDetailResponse get_payee_by_id_v3(payee_id, opts) Get Payee by Id Get Payee by Id ### Example ```ruby # load the gem require 'velopayments' # setup authorization VeloPayments.configure do |config| # Configure OAuth2 access token for authorization: OAuth2 config.access_token = 'YOUR ACCESS TOKEN' end api_instance = VeloPayments::PayeesApi.new payee_id = '2aa5d7e0-2ecb-403f-8494-1865ed0454e9' # String | The UUID of the payee. opts = { sensitive: true # Boolean | Optional. If omitted or set to false, any Personal Identifiable Information (PII) values are returned masked. If set to true, and you have permission, the PII values will be returned as their original unmasked values. } begin #Get Payee by Id result = api_instance.get_payee_by_id_v3(payee_id, opts) p result rescue VeloPayments::ApiError => e puts "Exception when calling PayeesApi->get_payee_by_id_v3: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **payee_id** | [**String**](.md)| The UUID of the payee. | **sensitive** | **Boolean**| Optional. If omitted or set to false, any Personal Identifiable Information (PII) values are returned masked. If set to true, and you have permission, the PII values will be returned as their original unmasked values. | [optional] ### Return type [**PayeeDetailResponse**](PayeeDetailResponse.md) ### Authorization [OAuth2](../README.md#OAuth2) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ## get_payee_by_id_v4 > PayeeDetailResponse2 get_payee_by_id_v4(payee_id, opts) Get Payee by Id Get Payee by Id ### Example ```ruby # load the gem require 'velopayments' # setup authorization VeloPayments.configure do |config| # Configure OAuth2 access token for authorization: OAuth2 config.access_token = 'YOUR ACCESS TOKEN' end api_instance = VeloPayments::PayeesApi.new payee_id = '2aa5d7e0-2ecb-403f-8494-1865ed0454e9' # String | The UUID of the payee. opts = { sensitive: true # Boolean | Optional. If omitted or set to false, any Personal Identifiable Information (PII) values are returned masked. If set to true, and you have permission, the PII values will be returned as their original unmasked values. } begin #Get Payee by Id result = api_instance.get_payee_by_id_v4(payee_id, opts) p result rescue VeloPayments::ApiError => e puts "Exception when calling PayeesApi->get_payee_by_id_v4: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **payee_id** | [**String**](.md)| The UUID of the payee. | **sensitive** | **Boolean**| Optional. If omitted or set to false, any Personal Identifiable Information (PII) values are returned masked. If set to true, and you have permission, the PII values will be returned as their original unmasked values. | [optional] ### Return type [**PayeeDetailResponse2**](PayeeDetailResponse2.md) ### Authorization [OAuth2](../README.md#OAuth2) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ## list_payee_changes > PayeeDeltaResponse list_payee_changes(payor_id, updated_since, opts) List Payee ChangesGet a paginated response listing payee changes.
Please use V3 instead.
### Example ```ruby # load the gem require 'velopayments' # setup authorization VeloPayments.configure do |config| # Configure OAuth2 access token for authorization: OAuth2 config.access_token = 'YOUR ACCESS TOKEN' end api_instance = VeloPayments::PayeesApi.new payor_id = 'payor_id_example' # String | The Payor ID to find associated Payees updated_since = Time.parse('2013-10-20T19:20:30+01:00') # Time | The updatedSince filter in the format YYYY-MM-DDThh:mm:ss+hh:mm opts = { page: 1, # Integer | Page number. Default is 1. page_size: 100 # Integer | Page size. Default is 100. Max allowable is 1000. } begin #List Payee Changes result = api_instance.list_payee_changes(payor_id, updated_since, opts) p result rescue VeloPayments::ApiError => e puts "Exception when calling PayeesApi->list_payee_changes: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **payor_id** | [**String**](.md)| The Payor ID to find associated Payees | **updated_since** | **Time**| The updatedSince filter in the format YYYY-MM-DDThh:mm:ss+hh:mm | **page** | **Integer**| Page number. Default is 1. | [optional] [default to 1] **page_size** | **Integer**| Page size. Default is 100. Max allowable is 1000. | [optional] [default to 100] ### Return type [**PayeeDeltaResponse**](PayeeDeltaResponse.md) ### Authorization [OAuth2](../README.md#OAuth2) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ## list_payee_changes_v3 > PayeeDeltaResponse2 list_payee_changes_v3(payor_id, updated_since, opts) List Payee Changes Get a paginated response listing payee changes. ### Example ```ruby # load the gem require 'velopayments' # setup authorization VeloPayments.configure do |config| # Configure OAuth2 access token for authorization: OAuth2 config.access_token = 'YOUR ACCESS TOKEN' end api_instance = VeloPayments::PayeesApi.new payor_id = 'payor_id_example' # String | The Payor ID to find associated Payees updated_since = Time.parse('2013-10-20T19:20:30+01:00') # Time | The updatedSince filter in the format YYYY-MM-DDThh:mm:ss+hh:mm opts = { page: 1, # Integer | Page number. Default is 1. page_size: 100 # Integer | Page size. Default is 100. Max allowable is 1000. } begin #List Payee Changes result = api_instance.list_payee_changes_v3(payor_id, updated_since, opts) p result rescue VeloPayments::ApiError => e puts "Exception when calling PayeesApi->list_payee_changes_v3: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **payor_id** | [**String**](.md)| The Payor ID to find associated Payees | **updated_since** | **Time**| The updatedSince filter in the format YYYY-MM-DDThh:mm:ss+hh:mm | **page** | **Integer**| Page number. Default is 1. | [optional] [default to 1] **page_size** | **Integer**| Page size. Default is 100. Max allowable is 1000. | [optional] [default to 100] ### Return type [**PayeeDeltaResponse2**](PayeeDeltaResponse2.md) ### Authorization [OAuth2](../README.md#OAuth2) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ## list_payee_changes_v4 > PayeeDeltaResponse2 list_payee_changes_v4(payor_id, updated_since, opts) List Payee Changes Get a paginated response listing payee changes (updated since a particular time) to a limited set of fields: - dbaName - displayName - email - onboardedStatus - payeeCountry - payeeId - remoteId ### Example ```ruby # load the gem require 'velopayments' # setup authorization VeloPayments.configure do |config| # Configure OAuth2 access token for authorization: OAuth2 config.access_token = 'YOUR ACCESS TOKEN' end api_instance = VeloPayments::PayeesApi.new payor_id = 'payor_id_example' # String | The Payor ID to find associated Payees updated_since = Time.parse('2013-10-20T19:20:30+01:00') # Time | The updatedSince filter in the format YYYY-MM-DDThh:mm:ss+hh:mm opts = { page: 1, # Integer | Page number. Default is 1. page_size: 100 # Integer | Page size. Default is 100. Max allowable is 1000. } begin #List Payee Changes result = api_instance.list_payee_changes_v4(payor_id, updated_since, opts) p result rescue VeloPayments::ApiError => e puts "Exception when calling PayeesApi->list_payee_changes_v4: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **payor_id** | [**String**](.md)| The Payor ID to find associated Payees | **updated_since** | **Time**| The updatedSince filter in the format YYYY-MM-DDThh:mm:ss+hh:mm | **page** | **Integer**| Page number. Default is 1. | [optional] [default to 1] **page_size** | **Integer**| Page size. Default is 100. Max allowable is 1000. | [optional] [default to 100] ### Return type [**PayeeDeltaResponse2**](PayeeDeltaResponse2.md) ### Authorization [OAuth2](../README.md#OAuth2) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ## list_payees_v1 > PagedPayeeResponse list_payees_v1(payor_id, opts) List Payees V1Get a paginated response listing the payees for a payor.
Please use V3 instead.> ### Example ```ruby # load the gem require 'velopayments' # setup authorization VeloPayments.configure do |config| # Configure OAuth2 access token for authorization: OAuth2 config.access_token = 'YOUR ACCESS TOKEN' end api_instance = VeloPayments::PayeesApi.new payor_id = 'payor_id_example' # String | The account owner Payor ID opts = { ofac_status: VeloPayments::OfacStatus.new, # OfacStatus | The ofacStatus of the payees. onboarded_status: VeloPayments::OnboardedStatus.new, # OnboardedStatus | The onboarded status of the payees. email: 'bob@example.com', # String | Email address display_name: 'Bob Smith', # String | The display name of the payees. remote_id: 'remoteId123', # String | The remote id of the payees. payee_type: VeloPayments::PayeeType.new, # PayeeType | The onboarded status of the payees. payee_country: 'US', # String | The country of the payee - 2 letter ISO 3166-1 country code (upper case) page: 1, # Integer | Page number. Default is 1. page_size: 25, # Integer | Page size. Default is 25. Max allowable is 100. sort: 'displayName:asc' # String | List of sort fields (e.g. ?sort=onboardedStatus:asc,name:asc) Default is name:asc 'name' is treated as company name for companies - last name + ',' + firstName for individuals The supported sort fields are - payeeId, displayName, payoutStatus, onboardedStatus. } begin #List Payees V1 result = api_instance.list_payees_v1(payor_id, opts) p result rescue VeloPayments::ApiError => e puts "Exception when calling PayeesApi->list_payees_v1: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **payor_id** | [**String**](.md)| The account owner Payor ID | **ofac_status** | [**OfacStatus**](.md)| The ofacStatus of the payees. | [optional] **onboarded_status** | [**OnboardedStatus**](.md)| The onboarded status of the payees. | [optional] **email** | [**String**](.md)| Email address | [optional] **display_name** | **String**| The display name of the payees. | [optional] **remote_id** | **String**| The remote id of the payees. | [optional] **payee_type** | [**PayeeType**](.md)| The onboarded status of the payees. | [optional] **payee_country** | **String**| The country of the payee - 2 letter ISO 3166-1 country code (upper case) | [optional] **page** | **Integer**| Page number. Default is 1. | [optional] [default to 1] **page_size** | **Integer**| Page size. Default is 25. Max allowable is 100. | [optional] [default to 25] **sort** | **String**| List of sort fields (e.g. ?sort=onboardedStatus:asc,name:asc) Default is name:asc 'name' is treated as company name for companies - last name + ',' + firstName for individuals The supported sort fields are - payeeId, displayName, payoutStatus, onboardedStatus. | [optional] [default to 'displayName:asc'] ### Return type [**PagedPayeeResponse**](PagedPayeeResponse.md) ### Authorization [OAuth2](../README.md#OAuth2) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ## list_payees_v3 > PagedPayeeResponse2 list_payees_v3(payor_id, opts) List Payees Get a paginated response listing the payees for a payor. ### Example ```ruby # load the gem require 'velopayments' # setup authorization VeloPayments.configure do |config| # Configure OAuth2 access token for authorization: OAuth2 config.access_token = 'YOUR ACCESS TOKEN' end api_instance = VeloPayments::PayeesApi.new payor_id = 'payor_id_example' # String | The account owner Payor ID opts = { watchlist_status: VeloPayments::WatchlistStatus.new, # WatchlistStatus | The watchlistStatus of the payees. disabled: true, # Boolean | Payee disabled onboarded_status: VeloPayments::OnboardedStatus.new, # OnboardedStatus | The onboarded status of the payees. email: 'bob@example.com', # String | Email address display_name: 'Bob Smith', # String | The display name of the payees. remote_id: 'remoteId123', # String | The remote id of the payees. payee_type: VeloPayments::PayeeType.new, # PayeeType | The onboarded status of the payees. payee_country: 'US', # String | The country of the payee - 2 letter ISO 3166-1 country code (upper case) page: 1, # Integer | Page number. Default is 1. page_size: 25, # Integer | Page size. Default is 25. Max allowable is 100. sort: 'displayName:asc' # String | List of sort fields (e.g. ?sort=onboardedStatus:asc,name:asc) Default is name:asc 'name' is treated as company name for companies - last name + ',' + firstName for individuals The supported sort fields are - payeeId, displayName, payoutStatus, onboardedStatus. } begin #List Payees result = api_instance.list_payees_v3(payor_id, opts) p result rescue VeloPayments::ApiError => e puts "Exception when calling PayeesApi->list_payees_v3: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **payor_id** | [**String**](.md)| The account owner Payor ID | **watchlist_status** | [**WatchlistStatus**](.md)| The watchlistStatus of the payees. | [optional] **disabled** | **Boolean**| Payee disabled | [optional] **onboarded_status** | [**OnboardedStatus**](.md)| The onboarded status of the payees. | [optional] **email** | [**String**](.md)| Email address | [optional] **display_name** | **String**| The display name of the payees. | [optional] **remote_id** | **String**| The remote id of the payees. | [optional] **payee_type** | [**PayeeType**](.md)| The onboarded status of the payees. | [optional] **payee_country** | **String**| The country of the payee - 2 letter ISO 3166-1 country code (upper case) | [optional] **page** | **Integer**| Page number. Default is 1. | [optional] [default to 1] **page_size** | **Integer**| Page size. Default is 25. Max allowable is 100. | [optional] [default to 25] **sort** | **String**| List of sort fields (e.g. ?sort=onboardedStatus:asc,name:asc) Default is name:asc 'name' is treated as company name for companies - last name + ',' + firstName for individuals The supported sort fields are - payeeId, displayName, payoutStatus, onboardedStatus. | [optional] [default to 'displayName:asc'] ### Return type [**PagedPayeeResponse2**](PagedPayeeResponse2.md) ### Authorization [OAuth2](../README.md#OAuth2) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ## list_payees_v4 > PagedPayeeResponse2 list_payees_v4(payor_id, opts) List Payees Get a paginated response listing the payees for a payor. ### Example ```ruby # load the gem require 'velopayments' # setup authorization VeloPayments.configure do |config| # Configure OAuth2 access token for authorization: OAuth2 config.access_token = 'YOUR ACCESS TOKEN' end api_instance = VeloPayments::PayeesApi.new payor_id = 'payor_id_example' # String | The account owner Payor ID opts = { watchlist_status: VeloPayments::WatchlistStatus.new, # WatchlistStatus | The watchlistStatus of the payees. disabled: true, # Boolean | Payee disabled onboarded_status: VeloPayments::OnboardedStatus.new, # OnboardedStatus | The onboarded status of the payees. email: 'bob@example.com', # String | Email address display_name: 'Bob Smith', # String | The display name of the payees. remote_id: 'remoteId123', # String | The remote id of the payees. payee_type: VeloPayments::PayeeType.new, # PayeeType | The onboarded status of the payees. payee_country: 'US', # String | The country of the payee - 2 letter ISO 3166-1 country code (upper case) ofac_status: VeloPayments::OfacStatus.new, # OfacStatus | The ofacStatus of the payees. page: 1, # Integer | Page number. Default is 1. page_size: 25, # Integer | Page size. Default is 25. Max allowable is 100. sort: 'displayName:asc' # String | List of sort fields (e.g. ?sort=onboardedStatus:asc,name:asc) Default is name:asc 'name' is treated as company name for companies - last name + ',' + firstName for individuals The supported sort fields are - payeeId, displayName, payoutStatus, onboardedStatus. } begin #List Payees result = api_instance.list_payees_v4(payor_id, opts) p result rescue VeloPayments::ApiError => e puts "Exception when calling PayeesApi->list_payees_v4: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **payor_id** | [**String**](.md)| The account owner Payor ID | **watchlist_status** | [**WatchlistStatus**](.md)| The watchlistStatus of the payees. | [optional] **disabled** | **Boolean**| Payee disabled | [optional] **onboarded_status** | [**OnboardedStatus**](.md)| The onboarded status of the payees. | [optional] **email** | [**String**](.md)| Email address | [optional] **display_name** | **String**| The display name of the payees. | [optional] **remote_id** | **String**| The remote id of the payees. | [optional] **payee_type** | [**PayeeType**](.md)| The onboarded status of the payees. | [optional] **payee_country** | **String**| The country of the payee - 2 letter ISO 3166-1 country code (upper case) | [optional] **ofac_status** | [**OfacStatus**](.md)| The ofacStatus of the payees. | [optional] **page** | **Integer**| Page number. Default is 1. | [optional] [default to 1] **page_size** | **Integer**| Page size. Default is 25. Max allowable is 100. | [optional] [default to 25] **sort** | **String**| List of sort fields (e.g. ?sort=onboardedStatus:asc,name:asc) Default is name:asc 'name' is treated as company name for companies - last name + ',' + firstName for individuals The supported sort fields are - payeeId, displayName, payoutStatus, onboardedStatus. | [optional] [default to 'displayName:asc'] ### Return type [**PagedPayeeResponse2**](PagedPayeeResponse2.md) ### Authorization [OAuth2](../README.md#OAuth2) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ## payee_details_update_v3 > payee_details_update_v3(payee_id, update_payee_details_request) Update Payee Details
Update payee details for the given Payee Id.
### Example ```ruby # load the gem require 'velopayments' # setup authorization VeloPayments.configure do |config| # Configure OAuth2 access token for authorization: OAuth2 config.access_token = 'YOUR ACCESS TOKEN' end api_instance = VeloPayments::PayeesApi.new payee_id = '2aa5d7e0-2ecb-403f-8494-1865ed0454e9' # String | The UUID of the payee. update_payee_details_request = VeloPayments::UpdatePayeeDetailsRequest.new # UpdatePayeeDetailsRequest | Request to update payee details begin #Update Payee Details api_instance.payee_details_update_v3(payee_id, update_payee_details_request) rescue VeloPayments::ApiError => e puts "Exception when calling PayeesApi->payee_details_update_v3: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **payee_id** | [**String**](.md)| The UUID of the payee. | **update_payee_details_request** | [**UpdatePayeeDetailsRequest**](UpdatePayeeDetailsRequest.md)| Request to update payee details | ### Return type nil (empty response body) ### Authorization [OAuth2](../README.md#OAuth2) ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json ## payee_details_update_v4 > payee_details_update_v4(payee_id, update_payee_details_request2) Update Payee Details
Update payee details for the given Payee Id.
### Example ```ruby # load the gem require 'velopayments' # setup authorization VeloPayments.configure do |config| # Configure OAuth2 access token for authorization: OAuth2 config.access_token = 'YOUR ACCESS TOKEN' end api_instance = VeloPayments::PayeesApi.new payee_id = '2aa5d7e0-2ecb-403f-8494-1865ed0454e9' # String | The UUID of the payee. update_payee_details_request2 = VeloPayments::UpdatePayeeDetailsRequest2.new # UpdatePayeeDetailsRequest2 | Request to update payee details begin #Update Payee Details api_instance.payee_details_update_v4(payee_id, update_payee_details_request2) rescue VeloPayments::ApiError => e puts "Exception when calling PayeesApi->payee_details_update_v4: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **payee_id** | [**String**](.md)| The UUID of the payee. | **update_payee_details_request2** | [**UpdatePayeeDetailsRequest2**](UpdatePayeeDetailsRequest2.md)| Request to update payee details | ### Return type nil (empty response body) ### Authorization [OAuth2](../README.md#OAuth2) ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json ## v1_payees_payee_id_remote_id_update_post > v1_payees_payee_id_remote_id_update_post(payee_id, update_remote_id_request) Update Payee Remote Id
Update the remote Id for the given Payee Id.
Please use V3 instead
### Example ```ruby # load the gem require 'velopayments' # setup authorization VeloPayments.configure do |config| # Configure OAuth2 access token for authorization: OAuth2 config.access_token = 'YOUR ACCESS TOKEN' end api_instance = VeloPayments::PayeesApi.new payee_id = '2aa5d7e0-2ecb-403f-8494-1865ed0454e9' # String | The UUID of the payee. update_remote_id_request = VeloPayments::UpdateRemoteIdRequest.new # UpdateRemoteIdRequest | Request to update payee remote id v1 begin #Update Payee Remote Id api_instance.v1_payees_payee_id_remote_id_update_post(payee_id, update_remote_id_request) rescue VeloPayments::ApiError => e puts "Exception when calling PayeesApi->v1_payees_payee_id_remote_id_update_post: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **payee_id** | [**String**](.md)| The UUID of the payee. | **update_remote_id_request** | [**UpdateRemoteIdRequest**](UpdateRemoteIdRequest.md)| Request to update payee remote id v1 | ### Return type nil (empty response body) ### Authorization [OAuth2](../README.md#OAuth2) ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json ## v3_payees_payee_id_remote_id_update_post > v3_payees_payee_id_remote_id_update_post(payee_id, update_remote_id_request) Update Payee Remote IdUpdate the remote Id for the given Payee Id.
### Example ```ruby # load the gem require 'velopayments' # setup authorization VeloPayments.configure do |config| # Configure OAuth2 access token for authorization: OAuth2 config.access_token = 'YOUR ACCESS TOKEN' end api_instance = VeloPayments::PayeesApi.new payee_id = '2aa5d7e0-2ecb-403f-8494-1865ed0454e9' # String | The UUID of the payee. update_remote_id_request = VeloPayments::UpdateRemoteIdRequest.new # UpdateRemoteIdRequest | Request to update payee remote id v3 begin #Update Payee Remote Id api_instance.v3_payees_payee_id_remote_id_update_post(payee_id, update_remote_id_request) rescue VeloPayments::ApiError => e puts "Exception when calling PayeesApi->v3_payees_payee_id_remote_id_update_post: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **payee_id** | [**String**](.md)| The UUID of the payee. | **update_remote_id_request** | [**UpdateRemoteIdRequest**](UpdateRemoteIdRequest.md)| Request to update payee remote id v3 | ### Return type nil (empty response body) ### Authorization [OAuth2](../README.md#OAuth2) ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json ## v4_payees_payee_id_remote_id_update_post > v4_payees_payee_id_remote_id_update_post(payee_id, update_remote_id_request) Update Payee Remote IdUpdate the remote Id for the given Payee Id.
### Example ```ruby # load the gem require 'velopayments' # setup authorization VeloPayments.configure do |config| # Configure OAuth2 access token for authorization: OAuth2 config.access_token = 'YOUR ACCESS TOKEN' end api_instance = VeloPayments::PayeesApi.new payee_id = '2aa5d7e0-2ecb-403f-8494-1865ed0454e9' # String | The UUID of the payee. update_remote_id_request = VeloPayments::UpdateRemoteIdRequest.new # UpdateRemoteIdRequest | Request to update payee remote id v4 begin #Update Payee Remote Id api_instance.v4_payees_payee_id_remote_id_update_post(payee_id, update_remote_id_request) rescue VeloPayments::ApiError => e puts "Exception when calling PayeesApi->v4_payees_payee_id_remote_id_update_post: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **payee_id** | [**String**](.md)| The UUID of the payee. | **update_remote_id_request** | [**UpdateRemoteIdRequest**](UpdateRemoteIdRequest.md)| Request to update payee remote id v4 | ### Return type nil (empty response body) ### Authorization [OAuth2](../README.md#OAuth2) ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json