postHolds
Create a holds resource. A holds resource represents a reviewable action taken on a Transaction.
In: header
Header Parameters
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.
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.
Request Body
application/json
Create a Transaction Hold Request
Create a Transaction Hold Request
The identifier of the Login that owns this holds resource.
If this hold resource was triggered through Payrix Integration Risk, then this field stores the identifier of the VerificationRef.
If this hold was released, this will contain the timestamp for when it was released. (YYYY-MM-DD HH:II:SS)
^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$If this hold was reviewed, this will contain the timestamp for when it was reviewed. The format should be YYYY-MM-DD HH:MM:SS.
^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$The final action taken on the hold while it's been released.
1- Holds released because the hold resource was approved.2- Holds released because the hold resource was cancelled.3- Holds released because the hold resource was refunded.4- Holds released because the hold resource was failed.5- Expired.
Value in
- 1
- 2
- 3
- 4
- 5
Field created to know the reason for why a hold was created.
DS_MODEL_POLICY_RUN- DS_MODEL_POLICY_RUNAPI_DECISION- API_DECISIONPOLICY_RUN- POLICY_RUNRISK_ALERT- RISK_ALERTMANUAL- MANUALERROR- ERROR
Value in
- "DS_MODEL_POLICY_RUN"
- "API_DECISION"
- "POLICY_RUN"
- "RISK_ALERT"
- "MANUAL"
- "ERROR"
reasonid for why a hold was created.
The timestamp when hold was considered to be delaying funding. The format should be YYYY-MM-DD HH:MM:SS.
^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$The timestamp when hold stopped delaying funding, this might be due to the hold been released, cancelled or funded. (YYYY-MM-DD HH:II:SS)
^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$The person who review the hold applied.
The timestamp for the most recent update of the analyst field. (YYYY-MM-DD HH:II:SS)
^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$Whether this resource is marked as inactive.
0- Active1- Inactive
Value in
- 0
- 1
Whether this resource is marked as frozen.
0- Not Frozen1- Frozen
Value in
- 0
- 1
Response Body
application/json
application/json
curl -X POST "https://example.com/holds" \ -H "Content-Type: application/json" \ -d '{ "login": "t1_hld_0000fc11df8e4c00000e00c", "verificationRef": "t1_xyz_12345eb00f0cf1bfc00be0f", "released": "2025-01-31 08:42:16", "reviewed": "2025-01-31 08:42:16", "releaseAction": 2, "holdSource": "API_DECISION", "holdSourceId": "5a9bba34-38eb-489e-abd8-765e18562a08", "delayedFundingStartDate": "2025-01-31 08:42:16", "delayedFundingEndDate": "2025-01-31 08:42:16", "analyst": "name", "claimed": "2025-01-31 08:42:16", "inactive": 0, "frozen": 0 }'{ "response": { "data": [ { "id": "t1_hld_0000fc11df8e4c00000e00c", "created": "2025-01-31 08:42:16.7318", "modified": "2025-01-31 08:42:16.7318", "creator": "t1_log_123e1cbf1bcfe0d606bd000", "modifier": "t1_log_123e1cbf1bcfe0d606bd000", "login": "t1_log_123fc13e1234f8fd20e0fa0", "entity": "t1_ent_66d205375262ec0f0000000", "txn": "t1_txn_6729fc89898bbfaedc00ff0", "terminalTxn": "t1_xyz_12345e666662ddca123a0c0", "account": "t1_xyz_1234bff729db11267ad0000", "verification": "t1_xyz_1234567b000ebe0b0e0dfe0", "verificationRef": "t1_xyz_12345eb00f0cf1bfc00be0f", "decisionAction": "t1_xyz_00a005b3e000c0ce000e0a0", "action": 3, "released": "2025-01-31 08:42:16", "reviewed": "2025-02-02 08:50:16", "inactive": 0, "frozen": 0, "releaseAction": 2, "delayedFundingStartDate": "2025-02-03 08:42:16", "delayedFundingEndDate": "2025-02-04 08:42:16", "analyst": "t1_log_00aa000a888801466471d0z", "claimed": "2025-02-25 06:42:16", "holdSource": "API_DECISION", "holdSourceId": "5a9bba34-38eb-489e-abd8-765e18562a08", "division": "t1_div_00ea000e00e0eb1234c09e9" } ], "details": { "requestId": 1, "totals": [], "page": { "current": 1, "last": 1, "hasMore": false } }, "errors": [] }}getHolds GET
Query a holds resource. A holds resource represents a reviewable action taken on a Transaction.
getItemsId GET
Query an Item. An Item is a line item that is associated with a particular Transaction. It allows you to describe the cost, quantity and other details of each line in the Transaction.
