openapi: 3.1.0 info: title: Thanx Consumer Account Issuance Jobs API description: The Thanx Consumer API lets brands integrate Thanx into a custom consumer experience, covering users and authentication, cards, gift cards, rewards, purchases, points and loyalty balances, locations, and feedback. It powers branded apps and digital experiences built on top of the Thanx loyalty and CRM platform. Endpoints are protected and authorized via end-user access tokens acquired through Thanx SSO. version: v4.0 contact: name: Kin Lane email: kin@apievangelist.com license: name: Proprietary servers: - url: https://api.thanx.com description: Production - url: https://api.thanxsandbox.com description: Sandbox - url: https://secure.api.thanx.com description: Production (PCI-scoped card endpoints) - url: https://secure.api.thanxsandbox.com description: Sandbox (PCI-scoped card endpoints) security: - bearerAuth: [] clientId: [] tags: - name: Issuance Jobs description: Track and revoke asynchronous reward issuance jobs. paths: /partner/issuance_jobs/{id}: get: operationId: getIssuanceJob summary: Get Issuance Job description: Retrieves the status of a reward issuance job. tags: - Issuance Jobs parameters: - $ref: '#/components/parameters/PathId' responses: '200': description: The issuance job. content: application/json: schema: type: object properties: issuance_job: $ref: '#/components/schemas/IssuanceJob' examples: GetIssuanceJob200Example: summary: Default getIssuanceJob 200 response x-microcks-default: true value: issuance_job: id: 92b7b0dac4 state: CA requested_count: 3 issued_count: 3 failed_count: 3 created_at: '2025-06-01T18:02:05Z' updated_at: '2025-06-01T18:02:05Z' x-microcks-operation: delay: 0 dispatcher: FALLBACK /partner/issuance_jobs/{id}/revoke: post: operationId: revokeIssuanceJob summary: Revoke Issuance Job description: Revokes a reward issuance job. tags: - Issuance Jobs parameters: - $ref: '#/components/parameters/PathId' responses: '200': description: The revoked issuance job. content: application/json: schema: type: object properties: issuance_job: $ref: '#/components/schemas/IssuanceJob' examples: RevokeIssuanceJob200Example: summary: Default revokeIssuanceJob 200 response x-microcks-default: true value: issuance_job: id: 92b7b0dac4 state: CA requested_count: 3 issued_count: 3 failed_count: 3 created_at: '2025-06-01T18:02:05Z' updated_at: '2025-06-01T18:02:05Z' x-microcks-operation: delay: 0 dispatcher: FALLBACK components: parameters: PathId: name: id in: path required: true schema: type: string schemas: IssuanceJob: type: object properties: id: type: string example: 92b7b0dac4 state: type: string example: CA requested_count: type: integer example: 3 issued_count: type: integer example: 3 failed_count: type: integer example: 3 created_at: type: string format: date-time example: '2025-06-01T18:02:05Z' updated_at: type: string format: date-time example: '2025-06-01T18:02:05Z' securitySchemes: bearerAuth: type: http scheme: bearer description: End-user access token acquired through Thanx SSO. clientId: type: apiKey in: header name: X-ClientId description: Client-specific identifier provided by Thanx.