Method: TransferZero::RecipientsApi#patch_recipient

Defined in:
lib/transferzero-sdk/api/recipients_api.rb

#patch_recipient(recipient_id, recipient_request, opts = {}) ⇒ RecipientResponse

Updating a recipient Updates the recipient specified in the URL path. Please note that only recipients where the editable field is true can be modified. Once the recipient is modified any subsequent payout tries will be sent to the updated details.

Parameters:

  • recipient_id

    ID of recipient to update. Example: `/v1/recipients/9d4d7b73-a94c-4979-ab57-09074fd55d33`

  • recipient_request
  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:



166
167
168
169
# File 'lib/transferzero-sdk/api/recipients_api.rb', line 166

def patch_recipient(recipient_id, recipient_request, opts = {})
  data, _status_code, _headers = patch_recipient_with_http_info(recipient_id, recipient_request, opts)
  data
end