Entity Returns

getEntityReturnsId

GET
/entityReturns/{id}

Query an EntityReturn represents an ACH transaction or disbursement that has been rejected, which will block ACH creations or send out related to its entity and payment.

Authorization

APIKEY<token>

In: header

Path Parameters

id*string

The ID of this entity return.

Query Parameters

embed?string

Use the embed query parameter to include full object(s) of related resource(s) directly within the API response. This allows retrieval of associated resources in a single request, reducing the need for multiple round-trips. Format: GET https://{server}.payrix.com/{endpoint}?embed={relatedObject}

Header Parameters

token?string

A single-use, limited authentication layer in addition to an API Key or Session Key to authorize sensitive operations. Auth Tokens add security by requiring one-time approval for specific actions.

request-token?string

A custom, one-time identifier for any API request (GET, PUT, POST, or DELETE). Blocks future requests with the same token for 48 hours, ensuring only the first request is processed. Valid values can contain 1-100 alphanumeric and special characters. See Request Tokens for more information.

Response Body

application/json

application/json

curl -X GET "https://example.com/entityReturns/t1_ern_67c9b2996c2944b0ffc9090"
{  "response": {    "data": [      {        "id": "t1_ern_67c9b2996c2944b0ffc9090",        "created": "2025-03-06 09:35:05.4506",        "modified": "2025-03-06 09:35:05.4506",        "creator": "t1_log_5f875c53ed397f57c0afc90",        "modifier": "t1_log_5f875c53ed397f57c0afc90",        "login": "t1_log_5f875c53ed397f57c0afc90",        "entity": "t1_ent_00177a051ae2b52697fe015",        "txn": "t1_txn_89c9afa2d319e6c23540104",        "disbursement": "",        "actionCode": "badAccount",        "code": "R03",        "message": "Unable to locate account or no account",        "inactive": 0,        "frozen": 0      }    ],    "details": {      "requestId": 1,      "totals": [],      "page": {        "current": 1,        "last": 1,        "hasMore": false      }    },    "errors": []  }}