Griffin Banking API
Simulate the Griffin Banking API in seconds. Introduction The Griffin API is based on REST.
[01]
About
Mock the Griffin Banking API as a turnkey Mockzilla sim with 69 OpenAPI endpoints, realistic JSON payloads, no upstream signup or sandbox keys. Introduction The Griffin API is based on REST. Methods: 44x GET, 17x POST, 3x DELETE, 3x PATCH, 2x PUT. Top resource groups: Payments, Webhooks, API keys, Bank accounts. Hit https://api.justmocks.com/griffin for the Mockzilla API Explorer landing and per-endpoint sample requests.
Endpoints
69 across 23 resource groups
Methods
GET 44 · POST 17 · PUT 2 · PATCH 3 · DEL 3 none deprecated
OpenAPI
3.0.0 spec version
Source spec
805 KB · YAML
[02]
Endpoints
| GET |
/v0/index
|
Index Contains various global URL paths. Follow api-key-url to discover your organization-url. Mocked via Mockzilla.
|
| GET |
/v0/ping
|
Ping Check your connection to the Griffin API.
|
| GET |
/v0/admissions/{admission-id}
|
Get payment admission Yields an admission.
|
| GET |
/v0/api-keys/{api-key-id}
|
Get API key Returns the API key without api-key-secret.
|
| DEL |
/v0/api-keys/{api-key-id}
|
Delete API key Deletes the API Key. This operation cannot be undone.
|
| GET |
/v0/bank/accounts/{bank-account-id}
|
Get bank account Fetch a bank account. Available as a Mockzilla mock endpoint.
|
| PATCH |
/v0/bank/accounts/{bank-account-id}
|
Update a bank account
|
| POST |
/v0/bank/accounts/{bank-account-id}/actions/close
|
Close a bank account
|
| GET |
/v0/bank/accounts/{bank-account-id}/admissions
|
List bank account admissions Lists admissions targeting a bank account
|
| GET |
/v0/bank/accounts/{bank-account-id}/membership
|
List legal person in a pooled account membership List legal persons in a pooled account membership
|
| POST |
/v0/bank/accounts/{bank-account-id}/membership-updates
|
Manage pooled account members Add and update the legal persons in a pooled account membership. Limited to 2000 legal persons per operation. Mockzilla mock: no signup, no API key.
|
| GET |
/v0/bank/accounts/{bank-account-id}/payments
|
List bank account payments Lists payments made from a bank account.
|
| POST |
/v0/bank/accounts/{bank-account-id}/payments
|
Create payment Registers a new payment request for the bank account
|
| GET |
/v0/bank/accounts/{bank-account-id}/submissions
|
List bank account submissions Lists submissions originating from a bank account
|
| GET |
/v0/bank/accounts/{bank-account-id}/transactions
|
List transactions Lists balance changes on a bank account.
|
| GET |
/v0/bank/transactions/{transaction-id}
|
Get transaction Yields a bank account transaction. Served by the Mockzilla mock runtime.
|
| GET |
/v0/companies-house/companies/{company-number}
|
Lookup company Lookup Companies House company by company number. Includes information about the company, its directors, and persons with significant control.
|
| GET |
/v0/events/{event-id}
|
Get an event
|
| GET |
/v0/legal-persons/{legal-person-id}
|
Get legal person Yields the legal-person.
|
| PUT |
/v0/legal-persons/{legal-person-id}
|
Update legal person Updates the legal-person.
|
| GET |
/v0/legal-persons/{legal-person-id}/bank/payees
|
List legal person payees Lists payees belonging to the legal person. Mocked via Mockzilla.
|
| POST |
/v0/legal-persons/{legal-person-id}/bank/payees
|
Create payee Registers a new payee for the customer
|
| GET |
/v0/legal-persons/{legal-person-id}/claims
|
List claims Yields a list of all current claims about this Legal Person.
|
| POST |
/v0/legal-persons/{legal-person-id}/claims
|
Create claim Creates a new claim about a Legal Person.
|
| GET |
/v0/legal-persons/{legal-person-id}/decisions
|
List decisions Lists all decisions for the given legal-person.
|
| POST |
/v0/legal-persons/{legal-person-id}/decisions
|
Create decision Creates a decision against the legal person. The provided verification must have a verification-status of checks-complete, otherwise a 422 is served. When a decision is successfully created, the legal person's application-status is updated accordingly. Multiple decisions may be made against the same legal person. Available as a Mockzilla mock endpoint.
|
| GET |
/v0/legal-persons/{legal-person-id}/history
|
Lists history of events for the given legal person.
|
| GET |
/v0/legal-persons/{legal-person-id}/verifications
|
List verifications for a legal person List verifications for the given legal person.
|
| POST |
/v0/legal-persons/{legal-person-id}/verifications
|
Perform verification of a legal person Initiates verification of the subject legal person. The request body must include a workflow-url to determine checks to be performed by the verification. The workflow specified determines which claims must exist for the subject legal person, as identified in the request URL, and any associated legal persons (i.e. directors and people with significant control of a corporation). These claims can be found in the required-claim-types field on a Workflow. Once a verification is created, the system will perform checks on the claim details. The status of check processing is indicated by the verification-status in the response body. Initially it will be pending, and will transition through in-progress to a final status of checks-complete. A verification-status of failed indicates something went wrong during check processing. You can initiate another verification to retry the check processing.
|
| GET |
/v0/memberships/{membership-id}
|
Get membership Returns the user's membership information.
|
| DEL |
/v0/memberships/{membership-id}
|
Delete membership Removes a user from an organization. Mockzilla mock: no signup, no API key.
|
| GET |
/v0/memberships/{membership-id}/roles
|
List membership roles Returns the roles assigned to this membership.
|
| PUT |
/v0/memberships/{membership-id}/roles
|
Update role Assigns roles to the membership. A 422 is served if you provide a role that is not in the Organisations "available-roles".
|
| GET |
/v0/onboarding/applications/{onboarding-application-id}
|
Get onboarding application Fetch an onboarding application.
|
| GET |
/v0/organizations/{organization-id}
|
Get organization Yields the organization details
|
| GET |
/v0/organizations/{organization-id}/api-keys
|
List API keys List all active API keys in your organization. Served by the Mockzilla mock runtime.
|
| POST |
/v0/organizations/{organization-id}/api-keys
|
Create API Key Create a new API key. This is the only time api-key-secret is shown.
|
| GET |
/v0/organizations/{organization-id}/bank/accounts
|
List bank accounts Yields a list of all bank accounts under the control of this Organization.
|
| POST |
/v0/organizations/{organization-id}/bank/accounts
|
Open bank account Open a new bank account
|
| GET |
/v0/organizations/{organization-id}/events
|
List all events for an organization
|
| POST |
/v0/organizations/{organization-id}/invitations
|
Create invitation POST creates a new invitation to the organization. Sends an email invitation to join the organization to the specified email-address. Mocked via Mockzilla.
|
| GET |
/v0/organizations/{organization-id}/legal-persons
|
List legal persons Returns a paginated list of all legal persons for the given organization. By default, results are sorted descending by created-at (newest first). To sort ascending by created-at, provide a ?sort=created-at query parameter.
|
| POST |
/v0/organizations/{organization-id}/legal-persons
|
Create legal person Creates a new Legal Person. A collection of Claims may be provided.
|
| GET |
/v0/organizations/{organization-id}/memberships
|
List organization memberships Returns this organization's memberships.
|
| POST |
/v0/organizations/{organization-id}/onboarding/applications
|
Create an onboarding application Create an onboarding application and submit it for processing. The request body must include a workflow-url to determine checks to be performed by the verification. The workflow specified determines which claims must exist for the subject profile, and any related profile (i.e. directors and people with significant control of a corporation). At the moment we only support 3 reliance workflows: Reliance LTD Company, Reliance Individual and Reliance Sole Trader. You need to provide different claims depending on the type of customer you wish to onboard via reliance. | LTD Company | Individual | Sole trader | | ----------- | ---------- | ----------- | | Subject profile:uk-company-registertrading-addressreliance-verificationRelated profiles:individual-identityindividual-residencereliance-verification | Subject profile:individual-identityindividual-residencereliance-verification | Subject profile:business-nameindividual-identityindividual-residencereliance-verification | For more information see our reliance onboarding guide.
|
| GET |
/v0/organizations/{organization-id}/webhooks
|
Get all webhooks for the organization. Available as a Mockzilla mock endpoint.
|
| POST |
/v0/organizations/{organization-id}/webhooks
|
Create a webhook
|
| GET |
/v0/organizations/{organization-id}/workflows
|
List organization workflows Lists workflows for use when creating a verification.
|
| GET |
/v0/payees/{payee-id}
|
Get payee Yields payee details
|
| PATCH |
/v0/payees/{payee-id}
|
Update payee Updates an existing payee. A payee can be deactivated by updating the payee-status of an active payee to deactivated. Any attempt to create or submit a payment to a deactivated payee will fail. A 422 is served when attempting to deactivate an already-deactivated payee.
|
| GET |
/v0/payments/{payment-id}
|
Get payment Yields payment details. Mockzilla mock: no signup, no API key.
|
| GET |
/v0/payments/{payment-id}/admissions
|
List payment admissions Lists admissions for a payment. A payment may have at most one admission.
|
| GET |
/v0/payments/{payment-id}/submissions
|
List payment submissions Lists submissions for a payment. The presence of a submission means that the payment has been submitted.
|
| POST |
/v0/payments/{payment-id}/submissions
|
Submit payment Submits a previously created payment for execution.
|
| GET |
/v0/roles
|
List roles Yields a list of all Role resources.
|
| GET |
/v0/roles/{role-id}
|
Get role Yields the Role resource. Served by the Mockzilla mock runtime.
|
| GET |
/v0/submissions/{submission-id}
|
Get payment submission Yields a submission.
|
| GET |
/v0/users/{user-id}
|
Get user Get the User resource for the current user.
|
| GET |
/v0/users/{user-id}/api-keys
|
List API keys List all your active API keys.
|
| GET |
/v0/users/{user-id}/memberships
|
List user memberships Returns this user's memberships.
|
| GET |
/v0/verifications/{verification-id}
|
Get verification Fetch the verification. Mocked via Mockzilla.
|
| GET |
/v0/webhooks/{webhook-id}
|
Fetch a webhook
|
| DEL |
/v0/webhooks/{webhook-id}
|
Delete a webhook
|
| PATCH |
/v0/webhooks/{webhook-id}
|
Update a webhook
|
| POST |
/v0/webhooks/{webhook-id}/actions/activate
|
Activate a webhook
|
| POST |
/v0/webhooks/{webhook-id}/actions/deactivate
|
Deactivate a webhook. Available as a Mockzilla mock endpoint.
|
| GET |
/v0/webhooks/{webhook-id}/actions/test
|
Get the status of the latest test event
|
| POST |
/v0/webhooks/{webhook-id}/actions/test
|
Send a test event to the webhook
|
| GET |
/v0/workflows/{workflow-id}
|
Get workflow Fetch the workflow.
|