addedInput schema / properties / endpoint / properties / senderSignature / properties / custom
Added value: +{
+ "additionalProperties": false,
+ "description": "Required when scheme is custom-hmac, refused for the other schemes. Describes how the sender signs.",
+ "properties": {
+ "algorithm": {
+ "description": "HMAC hash algorithm.",
+ "enum": [
+ "sha256",
+ "sha512",
+ "sha1"
+ ],
+ "type": "string"
+ },
+ "encoding": {
+ "description": "How the signature is written in the header.",
+ "enum": [
+ "hex",
+ "base64"
+ ],
+ "type": "string"
+ },
+ "header": {
+ "description": "Request header carrying the signature, for example X-Shopify-Hmac-Sha256. 1 to 64 bytes of header-name characters (a-z, 0-9 and !#$%&'*+-.^_`|~, case-insensitive). Not authorization, cookie, host, content-length, transfer-encoding, connection or x-api-key.",
+ "type": "string"
+ },
+ "message": {
+ "description": "What is signed. At most 256 bytes. Placeholders: {body} (exactly once) and {timestamp} (at most once); any other { is invalid. Default {body}.",
+ "type": "string"
+ },
+ "prefix": {
+ "description": "Text in front of the signature in the header, for example v0=. At most 32 bytes. Default empty.",
+ "type": "string"
+ },
+ "secretEncoding": {
+ "description": "How the stored secret is read as the HMAC key. Default utf8.",
+ "enum": [
+ "utf8",
+ "base64"
+ ],
+ "type": "string"
+ },
+ "timestampHeader": {
+ "description": "Header carrying the timestamp. Required when message contains {timestamp}, otherwise null or omitted. Same name rules as header.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "header",
+ "algorithm",
+ "encoding"
+ ],
+ "type": "object"
+}