You can test your signature in x-api-signature within this method.
Last updated 11 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": "9b7839d10bf4eac46f0fe0d090c75ca8446568fb39cc7d499c5c3f96f29d3f51", "receivedBody": "{\"some\":\"param\",\"another\":\"param\",\"nonce\":\"a60ceec5-293e-4676-bd0e-8ee3933f8796\"}" } }