POST/////
Add evidence to an existing case event.
Path parameter
| Fields | Description |
|---|---|
| case_token string Required | Unique identifier of the dispute case, generated by Marqeta. Allowable Values: 36 char max |
| event_token string Required | Unique identifier of the case event, generated by Marqeta. Allowable Values: 36 char max |
Body field details
| Fields | Description |
|---|---|
| pc_amount string Required | Amount of provisional credit granted or reversed. Allowable Values: Any positive decimal greater than zero, written as a string |
| webhook_id string Optional | Marqeta-generated identifier of the webhook associated with the case event. Allowable Values: 255 char max |
| notes string Optional | Notes about the evidence. Allowable Values: 255 char max |
| evidences array of objects Required | One or more objects containing evidence about the dispute. Allowable Values: Valid array of evidences objects |
| evidences[].evidence string Required | Text containing evidence or evidence identifiers (such as a case document ID). Allowable Values: 255 char max |
| evidences[].evidence_type string Required | Type of evidence submitted (ID, text content, or other). Allowable Values: COMMUNICATION_CONTENT, EXTERNAL_TRANSACTION_ID, CRM_ID, CASE_DOCUMENT_ID, OTHERFor ProgramGrantedProvisionalCredit or ProgramRevertedProvisionalCredit events, at least one submitted evidence_type must be EXTERNAL_TRANSACTION_ID.For ProgramCommunicatedGrantingProvisionalCredit or ProgramCommunicatedRevertingProvisionalCredit events, at least one submitted evidence_type must be COMMUNICATION_CONTENT, CRM_ID, or CASE_DOCUMENT_ID. |
Response body
| Fields | Description |
|---|---|
| pc_amount string Returned | Amount of provisional credit granted or reversed. Allowable Values: Any positive decimal greater than zero, written as a string |
| webhook_id string Conditionally returned | Marqeta-generated identifier of the webhook associated with the case event. Allowable Values: 255 char max |
| notes string Conditionally returned | Notes about the evidence. Allowable Values: 255 char max |
| evidences array of objects Returned | One or more objects containing evidence about the dispute. Allowable Values: Valid array of evidences objects |
| evidences[].evidence string Returned | Text containing evidence or evidence identifiers (such as a case document ID). Allowable Values: 255 char max |
| evidences[].evidence_type string Returned | Type of evidence submitted (ID, text content, or other). Allowable Values: COMMUNICATION_CONTENT, EXTERNAL_TRANSACTION_ID, CRM_ID, CASE_DOCUMENT_ID, OTHER |
Sample request
JSON
{
"pc_amount": "109.45",
"webhook_id": "webhookid-123",
"notes": "Granted pc on date mentioned",
"evidences": [
{
"evidence": "evidence 111",
"evidence_type": "OTHER"
}
]
}
Sample response
JSON
{
"pc_amount": "109.45",
"webhook_id": "webhookid-123",
"notes": "Granted pc on date mentioned",
"evidences": [
{
"evidence": "evidence 111",
"evidence_type": "OTHER"
}
]
}