Code 4xx

List of Midtrans specific status codes starting with 4XX.

StatusDescription
400Validation Error, merchant sends bad request data example; validation error, invalid transaction type, invalid credit card format, etc.
401Access denied due to unauthorized transaction, please check client key or server key
402Merchant doesn't have access for this payment type
403The requested resource is only capable of generating content not acceptable according to the accepting headers that sent in the request
404The requested resource is not found
405HTTP method is not allowed
406Duplicate order ID. Order ID has already been utilized previously
407Expired transaction
408Merchant sends the wrong data type
410Merchant account is deactivated. Please contact Midtrans support
411Token id is missing, invalid, or timed out
412Merchant cannot modify status of the transaction
413The request cannot be processed due to malformed syntax in the request body