POST
/
simulate
/
payments
/
{pmt_id}

Updates a Payment’s status.

Path Parameters

pmt_id
string
required

ID of the Payment

Body

status
enum
required

The next status to which the Payment should transition. See Payment Statuses.

error_code
enum

The desired Payment error code to simulate. Required when status is failed, or reversal_processing.

Returns

Returns a Payment object with the updated status.