Score Feedback
Update gateway score
Feed a transaction outcome back into the success-rate model. Call this after every transaction so the engine has accurate SR data for future routing decisions.
A CHARGED status increases the gateway's SR; failure statuses (AUTHENTICATION_FAILED, AUTHORIZATION_FAILED, etc.) decrease it.
post/update-gateway-score
Request body
Example request
{
"merchantId": "test_merchant",
"gateway": "stripe",
"paymentId": "pay_001",
"status": "CHARGED",
"gatewayReferenceId": "stripe_ref_001"
}Response
Score updated