Last updated 1 year ago
You can test your signature in x-api-signature within this method.
Public API-key
Signing the request body with a private API-key
Request content type
application/json
Successful response
POST /api-gateway/test-signature HTTP/1.1 Host: ocp.onchainpay.io Content-Type: application/json Accept: */*
{ "success": true, "response": { "errors": [ "No public key passed." ], "checkSignatureResult": true, "signature": "e86f22fca0ee12d29730d87a2354bde56d7e3e0137fb28ef4b24467e24b7ca66", "receivedBody": "{\"some\":\"param\",\"another\":\"param\",\"nonce\":\"a22052e9-ce9b-4c22-98b0-73f4a7b86cfc\"}" } }