Check x-api-signature

You can test your signature in x-api-signature within this method.

Check x-api-signature

POSThttps://app.apollopayment.io/api-gateway/test-signature
Header parameters
Body
any
Response
Body
success*boolean

Request success indicator

response*TestSignatureResponse (object)

Response body when verifying signature

Request
const response = await fetch('https://app.apollopayment.io/api-gateway/test-signature', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
});
const data = await response.json();
Response
{
  "success": false,
  "response": {
    "errors": [
      "No public key passed."
    ],
    "checkSignatureResult": false,
    "signature": "f214c183a8f81812cc30e43d8994f155326ee98564d17d07248cffa242cb8fff",
    "receivedBody": "{\"some\":\"param\",\"another\":\"param\",\"nonce\":\"d96f831d-a8e9-4de7-bf0d-fedd946b1d1c\"}"
  }
}

Last updated