Skip to main content

Webhook

info

All webhook calls from the payment gateway system to merchants use HTTP POST.

Get Order Status

Test endpoint: https://api-onramp.stg.eopay.io/order/get-sso-order-status

Production endpoint: https://api-onramp.eopay.io/order/get-sso-order-status

note

Merchant service IPs must be allow-listed in production for this webhook.

Signature

Reference

Request Parameters

ParameterTypeDescription
merchantIdstringMerchant ID assigned during onboarding
ssoOrderIdstringMerchant-defined unique ID (must match the value used when the order was created)

Order Payment Status Notification

note

Merchants must provide this webhook endpoint.

Callback Parameters

ParameterTypeDescription
merchantIdstringMerchant ID assigned during onboarding
payIdstringUnique payment ID
failReasonsstringError details
statusstringPayment status: APPROVED, DECLINED
signstringSignature generated from ssoOrderId + secret key
orderTypenumberOrder type: 0, 1
currencystringFiat currency code
fiatAmountstringOrder amount
cryptostringCrypto currency code
cryptoAmountstringCrypto amount
responseCodestringAcquirer response code

3D Challenge Result Notification

note

Merchants must provide this webhook endpoint.

Callback Parameters

ParameterTypeDescription
merchantIdstringMerchant ID assigned during onboarding
ssoOrderIdstringMerchant-defined unique ID (must match the value used when the order was created)
failReasonsstring3D failure reason
statusstring3D status: F failure, S success (uppercase)
responseCodenumberError code