Cancel a scheduled payment - V1
PUT /order/v1/banking/subscriptions/payments/{scheduledPaymentId}/cancel
PUT
/order/v1/banking/subscriptions/payments/{scheduledPaymentId}/cancel
Cancel a scheduled payment for an existing subscription.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” scheduledPaymentId
required
string
The scheduled payment ID (UUID)
Header Parameters
Section titled “Header Parameters ” idempotency-key
required
string
Request Body required
Section titled “Request Body required ”object
accountId
required
Receiver account ID that owns subscription
string
Example
6636e479-9b46-4e3c-b946-1d61ed39edbfResponses
Section titled “ Responses ”The resource was returned successfully
object
id
required
The unique identifier of cancellation request
string
Example
9deff869-f5eb-460d-a72e-5f01d2a4c850 status
required
The status of cancellation request
string
Example
PENDING endToEndId
required
The end-to-end identifier of cancellation request
string
Example
ceccd6b0-c409-4cf0-bec2-cf140d0f963cobject
error
string
Example
INVALID_REQUEST message
string
details
Array<object>
object
field
string
issue
string
description
string
Example
[ { "field": "field_name", "issue": "INVALID", "description": "Field is invalid" }]Unauthorized Request
object
error
string
Example
UNAUTHORIZED message
string
Example
Unauthorized Request details
Array<object>
object
field
string
issue
string
description
string
Example
[]object
error
string
Example
FORBIDDEN_ERROR message
string
details
Array<object>
object
field
string
issue
string
description
string
Example
[]Resource not found
object
error
string
Example
NOT_FOUND message
string
Example
Resource not found details
Array<object>
object
field
string
issue
string
description
string
Example
[]object
error
string
Example
INTERNAL_ERROR message
string
details
Array<object>
object
field
string
issue
string
description
string
Example
[]