Skip to Content
SandboxOne-time paymentsResultCode triggers

Error simulation — ResultCode codes

Use a special MerchantOrderID in CreateInvoice or CreateCustomerContract to get the desired ResultCode:

MerchantOrderID containsResultCodeName
ERR_201201Business_InvalidMSISDN
ERR_202202Business_InvalidClientIP
ERR_203203Business_CustomerNotSupported
ERR_204204Business_CustomerInBlackList
ERR_207207Business_InvoiceNotFound
ERR_208208Business_InvoiceIsClosed
ERR_210210Business_InvoiceWaitContent
ERR_220220Business_InvoiceNotAuthorized
ERR_223223Business_InvoiceAlreadyExpired
ERR_232232Business_CustomerContractNotFound
ERR_243243Business_CustomerContractAlreadyExpired
ERR_500500Fatal_UnexpectedException
ERR_RANDOMrandomrandom
Trigger example (XML)
<MerchantOrderID>test-ERR_207-invoice</MerchantOrderID> <!-- Mock response --> <Response> <ResultCode>207</ResultCode> <ResultDescription>Business_InvoiceNotFound</ResultDescription> </Response>
Trigger example (JSON)
// In the request body "order": { "merchant_order_id": "test-ERR_207-invoice", ... } // Mock response { "success": false, "error": { "code": "INVOICE_NOT_FOUND", "message": "Invoice not found" } }