Orum Secure webhooks API
The Secure webhooks API from Orum — 1 operation(s) for secure webhooks.
The Secure webhooks API from Orum — 1 operation(s) for secure webhooks.
openapi: 3.0.1
info:
title: Orum Authentication Secure webhooks API
description: Orum API.
version: v2022-09-21
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0
servers:
- url: https://api-sandbox.orum.io
- url: https://vault.api-sandbox.orum.io
tags:
- name: Secure webhooks
paths:
/webhooks/secret:
post:
tags:
- Secure webhooks
operationId: post-webhook-secret
summary: Initialize public-private key pair
parameters:
- name: Orum-Version
in: header
required: true
schema:
$ref: '#/components/schemas/OrumVersion'
x-orum-error-invalid:
known-error: version_invalid
x-orum-error-missing:
known-error: version_missing
responses:
'200':
description: 200 response.
content:
application/json:
schema:
$ref: '#/components/schemas/SecretResponse'
'401':
description: unauthorized request.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
security:
- oauth2:
- write:webhook-secret
get:
tags:
- Secure webhooks
operationId: get-webhook-secret
summary: Retrieve public-private key pair
parameters:
- name: Orum-Version
in: header
required: true
schema:
$ref: '#/components/schemas/OrumVersion'
x-orum-error-invalid:
known-error: version_invalid
x-orum-error-missing:
known-error: version_missing
responses:
'200':
description: 200 response.
content:
application/json:
schema:
$ref: '#/components/schemas/SecretResponse'
'401':
description: unauthorized request.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
security:
- oauth2:
- read:webhook-secret
components:
schemas:
SecretResponse:
title: SecretResponse
type: object
properties:
enterprise_keypair:
type: object
required:
- id
- enterprise_name
- public_key
- created_at
- updated_at
properties:
id:
type: string
enterprise_name:
type: string
public_key:
type: string
description: RSA-2048 public key.
created_at:
type: string
description: Timestamp when the resource was created.
updated_at:
type: string
description: Timestamp when the resource was last updated.
ErrorResponse:
type: object
properties:
error_code:
type: string
message:
type: string
details:
type: object
description: additional details about the error.
nullable: true
required:
- error_code
- message
OrumVersion:
type: string
description: Version of Deliver and Verify APIs. Use v2022-09-21.
enum:
- v2022-09-21
securitySchemes:
oauth2:
type: oauth2
flows:
clientCredentials:
tokenUrl: https://api-sandbox.orum.io/oauth/token
scopes:
read:persons: Read persons
write:persons: Write persons
read:businesses: Read businesses
write:businesses: Write businesses
read:external-accounts: Read external accounts
write:external-accounts: Write external accounts
read:cards: Read cards
write:cards: Write cards
read:transfers: Read transfers
write:transfers: Write transfers
read:transfer-groups: Read transfer groups
write:transfer-groups: Write transfer groups
read:schedules: Read schedules
write:schedules: Write schedules
read:routing-number-eligibility: Read routing number eligibility
read:balances: Read balances
read:reports: Read reports
write:reports: Write reports
read:booktransfers: Read book transfers
write:booktransfers: Write book transfers
read:subledgers: Read subledgers
write:subledgers: Write subledgers
read:verify-accounts: Read verify accounts
write:verify-accounts: Write verify accounts
read:webhook-configurations: Read webhook configurations
write:webhook-configurations: Write webhook configurations
read:webhook-secret: Read webhook secret
write:webhook-secret: Write webhook secret
invoke:webhook: Invoke webhook