post https://prod.emea.api.fiservapps.com/sandbox/exp/v1/disputes//events//actions
Execute an Action against this Dispute
Recipes
💳
Generate message signature (v2)
Open Recipe
Execute an action
How execute an action works in practice:
- Search for disputes
- Retrieve a single dispute by ID
- Make note of the
tcnvalue and theidfor the dispute. You will need these both later- Look through the
eventsarray to see which events haveallowedActions- Make a note of the
codein the action you wish to perform. This code is required when using the Execute an Action endpoint- Decide on the action you wish to perform and using the required data fields against that action create and send your Execute an Action endpoint request including the
tcnandcodeyou found earlier# Execute an action request with some allowedActions referenced from single dispute response curl --location --request POST '/disputes/{disputeId}/events/{eventId}/actions' \ --header 'Api-Key: ' \ --header 'Content-Type: multipart/form-data' \ --form 'code="086"' \ --form 'tcn="2345678"' \ --form 'evidence=@"evidence1.pdf"' \ # Execute an action request with many allowedActions referenced from a single dispute response curl --location --request POST '/disputes/{disputeId}/events/{eventId}/actions' \ --header 'Api-Key: ' \ --header 'Content-Type: multipart/form-data' \ --form 'code="086"' \ --form 'tcn="2345678"' \ --form 'evidence=@"evidence1.pdf"' \ --form 'name="Ros Bennis"' \ --form 'address1="123 API Street"' \ --form 'address2="ABC Lane"' \ --form 'city="Oxford"' \ --form 'postalCode="GL4 8DL"' \ --form 'state="OX"' \ --form 'shippingCompanyName="Royal Mail"' \ --form 'trackingNumber="12345678"'