You can test your signature in x-api-signature within this method.
Last updated 10 months ago
Request success indicator
Response body when verifying signature
const response = await fetch('https://app.apollopayment.io/api-gateway/test-signature', { method: 'POST', headers: { "Content-Type": "application/json" }, }); const data = await response.json();
{ "success": false, "response": { "errors": [ "No public key passed." ], "checkSignatureResult": false, "signature": "33946ddc1c4d3ca51ff251ed2f6c235d5e3f25d6104721f547c91d6c83fdd5c1", "receivedBody": "{\"some\":\"param\",\"another\":\"param\",\"nonce\":\"7e374400-32da-4892-b268-adb71a99b1a1\"}" } }