Sign Apple Wallet manifest.json and return PKCS#7 signature

POST /api/v1/wallet/sign_manifest

Sign Apple Wallet manifest.json and return PKCS#7 signature.

  • manifest: JSON file to be signed
  • pass_id: Identifier of the pass to sign with

Query parameters

  • pass_id string

    Pass identifier to use for signing

    Default value is pass.com.lunair.boarding-pass.

multipart/form-data

Body Required

  • manifest string(binary) Required

    manifest.json file to be signed

Responses

  • PKCS#7 signature of the manifest.json

  • 400

    Invalid input or pass_id

  • 500

    Internal server error during signature generation

  • 422 application/json

    Validation Error

    Hide response attribute Show response attribute object
    • detail array[object]
      Hide detail attributes Show detail attributes object
      • loc array[string | integer] Required
      • msg string Required
      • type string Required
POST /api/v1/wallet/sign_manifest
curl \
 --request POST 'http://api.example.com/api/v1/wallet/sign_manifest' \
 --header "Content-Type: multipart/form-data" \
 --form "manifest=@file"
Response examples (422)
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}