Updates a Payment’s status.
ID of the Payment
The next status to which the Payment should transition. See Payment Statuses.
The desired Payment error code to simulate. Required when status is failed
, or reversal_processing
.
Possible enum values
10001
Insufficient funds error.
10002
Unauthorized Payment error.
10003
Invalid Account error.
10005
Unauthorized Source error.
10006
Unauthorized Destination error.
10007
Invalid Source error.
10008
Invalid Destination error.
10009
Rejected By Destination error.
10010
Invalid Amount error.
Returns a Payment object with the updated status.
Updates a Payment’s status.
ID of the Payment
The next status to which the Payment should transition. See Payment Statuses.
The desired Payment error code to simulate. Required when status is failed
, or reversal_processing
.
Possible enum values
10001
Insufficient funds error.
10002
Unauthorized Payment error.
10003
Invalid Account error.
10005
Unauthorized Source error.
10006
Unauthorized Destination error.
10007
Invalid Source error.
10008
Invalid Destination error.
10009
Rejected By Destination error.
10010
Invalid Amount error.
Returns a Payment object with the updated status.