Skip to content

Updates the split of a capture

Request

Required scope: capture:update

Security
accountId and apiKey
Path
capture-uuidstring, (uuid)required

Capture Identification

capture-split-uuidstring, (uuid)required

Capture Split Identification

Bodyapplication/json

Payment configuration object to generate a payment

clearing_datestring, (date)

The new date for the split to be cleared.
This field must be in the future and no longer than 2 years from today.

Example:"2006-01-02"
curl -i -X PATCH \
  'https://api.test.easypay.pt/2.0/capture/{capture-uuid}/splits/{capture-split-uuid}' \
  -H 'AccountId: 2b0f63e2-9fb5-4e52-aca0-b4bf0339bbe6' \
  -H 'ApiKey: eae4aa59-8e5b-4ec2-887d-b02768481a92' \
  -H 'Content-Type: application/json' \
  -d '{
    "clearing_date": "2006-01-02"
  }'

Responses

OK

Bodyapplication/json
statusstring
Example:"ok"
messageArray of strings
Example:
[ "Your request was successfully created" ]
Response
{ "status": "ok", "message": [ "Your request was successfully created" ] }