Earnnest API · sandbox console

Sandbox console screens

The sandbox console is the tool integrators use to create test payment requests, run them through scenarios, and manage their webhooks. The Main paths tab follows an integrator from sign-in to delivered webhooks. The Errors and edge cases tab holds what the console shows when something is refused, missing, or unavailable.

Sign in

2 states

Signed outThe console home page before sign-in, with the button that starts sign-in.
Choose organizationThe organization picker shown to a user who holds the Developer role in more than one organization.

Payment requests

6 states

EmptyThe payment requests page for an organization with no payment requests yet.
Create openThe create form open and filled in with a payment occasion, payer email, amount, and property address.
CreatedThe create form after a successful create, with the new request at the top of the list.
ListThe payment requests list with rows in several request and payment statuses, beside the API calls panel.
Bulk runningThe bulk scenario run in progress, listing each request tried so far with its result.
Bulk finishedThe bulk scenario run after it finished, with a summary of how many requests accepted the scenario.

One payment request

7 states

NewA freshly created payment request with the scenarios the integrator can run on it.
Paused before a callA request paused before an API call, offering Send, Copy as curl, and Discard.
QueuedA request whose scenario has been accepted and is waiting to start.
RunningA request whose scenario is running, with the run card showing progress.
CompletedA request whose scenario completed, with the final statuses on the run card.
Refund eventsA completed request with refund events listed on the run card.
Call expandedA request with one API call expanded to show the full request and response.

Webhooks

9 states

No subscriptionThe webhooks page for an organization with no webhook subscription yet.
Create formThe subscription form filled in with an HTTPS endpoint and a chosen set of event types.
Created secret maskedA new subscription with its one-time signing secret, masked for this image.
DeliveriesA subscription with its deliveries table showing succeeded, failed, and pending deliveries.
Delivery expandedA failed delivery expanded to show its attempt details, the event body, and the Redeliver button.
Replay formThe replay form filled in with a time range and a chosen set of event types.
Replay startedThe replay form after a replay started, with its progress counts.
Rotate confirmThe confirmation shown before rotating the signing secret.
Rotate secret maskedThe new signing secret after a rotation, masked for this image, with the previous key's retirement time.

Integration

6 states

NoneThe integration page for an organization with no API integration, offering to create one.
Signing in againThe page that asks the user to sign in again before the console changes integration credentials.
Created secret maskedA newly created integration with its client ID and one-time client secret, masked for this image.
Secrets with overlapAn integration with two client secrets, the older one set to stop after the overlap period.
Rotated secret maskedThe new client secret after a rotation that keeps the old secret working for 24 hours, masked for this image.
Secret stoppedThe integration page after a secret was stopped, with the confirmation message.

Sign in and session

6 states

No developer accessThe page shown to a user who signed in without the Developer role in any organization.
UnavailableThe page shown when the console cannot check the user's access during sign-in.
Did not finishThe page shown when a sign-in attempt returns with a stale or unknown state.
Not configuredThe page shown when sign-in is not yet configured for the environment.
Session expiredThe home page after the session expired, asking the user to sign in again.
No longer developerThe home page after the user lost the Developer role, explaining why the session ended.

Payment requests

7 states

Create refusedThe create form showing the API refusal for an amount below the payment occasion minimum.
Bulk stoppedThe bulk scenario run after a call failed partway, with the requests it tried before it stopped.
Api unreachableThe payment requests page when the console cannot reach the API.
No integrationThe payment requests page for an organization that has no API integration yet.
Integration turned offThe payment requests page when Earnnest has turned off the organization's integration.
Console not addedThe payment requests page when Earnnest has not yet added the console's own client to the integration.
Cannot call apiThe payment requests page when the console has no client to call the API with.

One payment request

1 state

FailedA request whose scenario failed, with the worded reason on the run card.

Webhooks

3 states

Create refusedThe subscription form showing the API refusal for an endpoint that is not HTTPS.
Edit refusedThe edit form showing the API refusal for an endpoint that is not HTTPS.
Disabled degradedA subscription that is disabled and degraded, with the Enable button in place of Disable.

Integration

6 states

Console not addedAn integration whose secrets the console cannot list because Earnnest has not added the console's own client.
Turned offThe integration page when Earnnest has turned off the organization's integration.
UnavailableThe integration page when the console cannot read the integration.
Secrets list failedAn integration whose client secrets the console could not list, with a prompt to reload.
Refused five secretsThe page shown when a rotation is refused because the integration already has five secrets.
Page already usedThe page shown when a one-time secret page is opened a second time.

Not found

1 state

Not foundThe page shown for a console address that does not exist.