# Apply credit to an ACH transaction

<mark style="color:orange;">post:</mark> <https://easypay5.com/APIcardProcNumber/v1.0.0/ACH/ApplyCredit>

{% tabs %}
{% tab title="Sample Request" %}

```clike
{
  "TxID": 2,
  "CreditAmount": 15.25
}
```

{% endtab %}

{% tab title="Sample Response" %}

```clike
{
  "ACH_ApplyCreditResult": {
    "ErrCode": 0,
    "ErrMsg": "",
    "FunctionOk": true,
    "RespMsg": "APPROVED 67210758 TXID 000041",
    "TxApproved": true,
    "TxID": 41
  }
}
```

{% endtab %}

{% tab title="Header Parameters" %}
**SessKey** string <mark style="color:orange;">required</mark>

A unique session key used for authentication in API calls. This key is generated upon successful authentication and must be included in all subsequent requests.

Example: `A1842D663E9A4A72XXXXXXXX303541303234373138`

***

**Content-Type** string <mark style="color:orange;">required</mark>

Example: `application/json`

***

**Accept** string <mark style="color:orange;">required</mark>

Example: `application/json`
{% endtab %}

{% tab title="Body" %}
**TxID** integer <mark style="color:purple;">optional</mark>

Example: `2`

***

**CreditAmount** number · float <mark style="color:purple;">optional</mark>

Example: `15.25`
{% endtab %}
{% endtabs %}
