You can test your signature in x-api-signature within this method.
Last updated 1 year 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": "ea2d2b03632069f0fc7a703c90aee97186ac85df600de8cd9fef276a2c186ff6", "receivedBody": "{\"some\":\"param\",\"another\":\"param\",\"nonce\":\"4a0ceafc-d70a-4182-8d06-3c0f70b01903\"}" } }