Webhook query certificate

For Security Purpose, Binance will add signature for webhook notification. Partner need to verify the signature using the public key issued from Binance Pay. Public key can be queried from this API

EndPoint#

POST /binancepay/openapi/certificates

Request Parameters#

AttributesTypeRequiredLimitationDescription
merchantIdlongmandatory-The merchant account id, issued when merchant been created at Binance.

Sample Request Body#

Query certificate result by merchantId:

{
"merchantId": 987321472
}

Response Parameters#

AttributesTypeRequiredLimitationDescription
certSerialstringY-public key hash value
certPublicstringY-public key