Schedules

Update schedule

Update account schedule by schedule ID.

patch/v1/accounts/{accountId}/schedules/{scheduleId}

Request

  • Base URL
    https://sandbox.pismolabs.io/scheduler-payments
  • URL
    https://sandbox.pismolabs.io/scheduler-payments/v1/accounts/{accountId}/schedules/{scheduleId}
  • Auth
    HTTP bearer

Request body

Example request

{
  "single": {
    "description": "Custom purchase",
    "metadata": {
      "any-key": "any-value"
    },
    "restrictions": {
      "minimum_daily_available": 100.23,
      "minimum_monthly_average_available": 100.23,
      "minimum_days_account_inactivity": 5
    },
    "schedule_details": {
      "end_date": "2023-01-02T07:00:00.000Z",
      "retries": {
        "interval_recurrence": 5,
        "number_of_attempts": 5
      }
    }
  },
  "pre": {
    "schedule_details": {
      "statement": {
        "id": 1234455
      }
    },
    "processing_code": "219803",
    "amount": 100.23,
    "currency_code": "BRL",
    "description": "Custom purchase",
    "metadata": {
      "any-key": "any-value"
    }
  },
  "transfer": {
    "description": "Custom purchase",
    "metadata": {
      "any-key": "any-value"
    },
    "schedule_details": {
      "end_date": "2023-01-02T07:00:00.000Z"
    }
  }
}

Response

No content

Changes

No recorded changes to this operation across all 1 revision of this API.