Simulate cycle payment only for test mode
The sub-account user-id to make this transaction for. This header is only used if you have access to xenPlatform. See xenPlatform for more information.
The ID of the recurring plan associated with the cycle.
The ID of the recurring cycle.
Successfully simulate cycle payment
Xendit-generated recurring cycle ID.
ID of the associated recurring plan.
Status of the recurring cycle.
Amount charged in the cycle.
Validation errors occurred. Safe to retry.
Fields or values in the payload body does not comply with our API specification.
{
"error_code": "API_VALIDATION_ERROR",
"message": "Check the specific error message for debugging."
}
Error code identifying the issue.
Description of the error.
Invalid API key or unauthorized access. Safe to retry.
Ineligible request
Request cannot be processed.
{
"error_code": "INELIGIBLE_CYCLE_REQUEST",
"message": "Requested changes to cycle cannot be processed. Only cycles in \"SCHEDULED\" status can be simulated"
}
Resource not found. Safe to retry.
Customer not found.
{
"error_code": "DATA_NOT_FOUND",
"message": "Recurring cycle_id not found. Please check your query again."
}
Unsupported content type. Safe to retry.
Server error.