Skip to main content
POST
Legacy update score

Authorizations

Authorization
string
header
required

JWT token obtained from /auth/login

Body

application/json
merchantId
string
required
Example:

"test_merchant"

gateway
string
required
Example:

"stripe"

paymentId
string
required
Example:

"pay_001"

status
enum<string>
required
Available options:
CHARGED,
AUTHENTICATION_FAILED,
AUTHORIZATION_FAILED,
JUSPAY_DECLINED,
FAILURE
Example:

"CHARGED"

gatewayReferenceId
string
Example:

"stripe_ref_001"

enforceDynamicRoutingFailure
boolean
default:false

Response

200 - application/json

OK

The response is of type string.