# 2.Edit Bank Method

## Edit Bank Method

<mark style="color:orange;">`PUT`</mark> `{{MemberBaseAddress}}/api/paywall/member/bankaccount`

{% hint style="info" %}
**Important**: In order to use the member service, you need to send the '**apikeypublic**' and '**apiclientpublic**' parameters in the 'Header' section.\
\
[<mark style="color:green;">**MemberAPI**</mark> ](https://developer.paywall.one/payment-orchestration-integration-document/environment)[<mark style="color:green;">**Address**</mark>](https://developer.paywall.one/payment-orchestration-integration-document/environment)
{% endhint %}

<table><thead><tr><th width="176">Parameter</th><th width="86">Type</th><th width="139">Compulsory</th><th width="403">Description</th></tr></thead><tbody><tr><td>apikeypublic</td><td>string</td><td>Yes</td><td>The Public Key obtained from the merchant panel.</td></tr><tr><td>apiclientpublic</td><td>string</td><td>Yes</td><td>The Public Client obtained from the merchant panel.</td></tr></tbody></table>

**The parameters that need to be sent to the service are as follows:**

<table><thead><tr><th width="179">Parameter</th><th width="117">Type</th><th width="145">Compulsory</th><th width="336">Description</th></tr></thead><tbody><tr><td>Id</td><td>int</td><td>Yes</td><td>The Id information of the bank method in Paywall.</td></tr><tr><td>CurrencyId</td><td>int</td><td>Yes</td><td><p>The currency of the bank method to be added.</p><p><br>You can access all currencies from the system data.</p></td></tr><tr><td>Title</td><td>string</td><td>Yes</td><td>The recipient name associated with the IBAN in the bank method. It must be entered correctly.</td></tr><tr><td>Iban</td><td>string</td><td>Yes</td><td>The IBAN information for the bank method.</td></tr></tbody></table>

**Sample to be sent to the service&#x20;**<mark style="color:green;">**JSON**</mark>**&#x20;and&#x20;**<mark style="color:green;">**sample codes**</mark>**&#x20;is as follows**

{% tabs %}
{% tab title="JSON" %}
{% code lineNumbers="true" %}

```json5
{
    "Id": 24,
    "CurrencyId": 3,
    "Title": "MemberName Lastname",
    "Iban": "TR370006400000123456789876"
}
```

{% endcode %}
{% endtab %}

{% tab title="C#" %}

```csharp
// Soon
```

{% endtab %}

{% tab title="GO" %}

```go
// Soon
```

{% endtab %}

{% tab title="Java" %}

```java
// Soon
```

{% endtab %}

{% tab title="PHP" %}

```php
// Soon
```

{% endtab %}

{% tab title="Python" %}

```python
// Soon
```

{% endtab %}

{% tab title="Ruby" %}

```ruby
// Soon
```

{% endtab %}

{% tab title="TypeScript" %}

```typescript
// Soon
```

{% endtab %}

{% tab title="Curl" %}

```sh
// Soon
```

{% endtab %}
{% endtabs %}

**The parameters returned from the service are as follows:**

<table><thead><tr><th width="189">Parameter</th><th width="100.33333333333331">Type</th><th>Description</th></tr></thead><tbody><tr><td>ErrorCode</td><td>int</td><td>Error code. It returns '0' if the operation is successful.</td></tr><tr><td>Result</td><td>bool</td><td>It returns either true or false. It returns 'true' if the operation is successful.</td></tr><tr><td>Message</td><td>string</td><td>If the operation is unsuccessful, this is the message specified for the error, providing language support based on the 'locale' parameter.</td></tr><tr><td>Body</td><td>article</td><td>Transaction details</td></tr></tbody></table>

{% tabs %}
{% tab title="JSON" %}
{% code lineNumbers="true" %}

```json
{
    "ErrorCode": 0,
    "Result": true,
    "Message": "",
    "Body": null
}
```

{% endcode %}
{% endtab %}
{% endtabs %}
