Delete repeat payment

Delete
/api/pay/v1/repeat-payments/{payment_id}

This endpoint deletes a schedule and all its remaining payments that haven’t been processed yet.

Parameters

  • schedule_id (integer) : id of the schedule of the repeat payment.

Request Body

  • payment_type (string, required): Repeat payment type. It must be either of the following values. It is passed to identify the type of the specific repeat schedule. This value cannot be updated.
  1. fixed_schedule

  2. variable_schedule

  • recurring_id (integer, required): id of the transaction you wish to remove.

Response Body

  • success (boolean)

  • message (string)

Security
HTTP
Type bearer
Header parameters
Authorization
string
ExampleBearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJtZXJjaGFudF9pZCI6NDM5OCwic2VjcmV0X2tleSI6IjYzMTBlNDhiZGQwZTQzODE0NTlhNjJiNDZkMmM0ZmQ2ZThhYjY1YTJhNGQ1MjA1YzZjM2RkZWJmYmJhZWJiZjgiLCJleHAiOjE3MjA3MDcyNjZ9.91qa4veQ9xGVM-Jc_3_i_vaykEdYarRwUzb-37aLD0c
Path parameters
payment_id
stringRequired
Responses
200

Successful response