Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

Before you proceed: Please read this.

Commercial model

At agreed settlement cycles, the host will debit the configured beneficiary account of the app for the use of this API and share that fee with all participants. Fees will be determined by the provider. A credit notification also implies that a provider already has the monies that belong to the app developer with them and probably need to execute settlement to them at agreed cycles outside of OnePipe.

Special configuration notes

Providers need to support as much configuration as is possible rather that enforce strict payload content.

Settlement & fees model

At the moment, this service only supports one model.

Model

How it works

Invoice

The client will invoice the calling app periodically for all calls to the endpoint.

Process flows

Sequence of calls

  1. Setup

    1. All apps that want this services will configure their webhook on OnePipe

    2. A custom webhook designed specifically for the provider is also implemented on OnePipe

    3. Customer presents payments details at a provider’s channel

  2. [optional] Validation

    1. [optional] Provider makes a call to its webhook on OnePipe to pull details of the payment or customer

    2. The provider webhook makes a transaction_info call to a OnePipe listener

    3. [optional] OnePipe may forward this call above to the app’s webhook in the the form of a transaction_info request

  3. Completion

    1. Provider process the transaction offline

    2. Provider makes a call to its webhook on OnePipe to record the transaction

    3. The provider webhook makes a payment_fulfillment call to a OnePipe listener if this call matches a prior transaction_info. If not, it makes a transaction_notification call instead.

    4. OnePipe will forward this call above to the app’s webhook in the the form of a transaction_notification request

Gliffy
baseUrlhttps://onepipe.atlassian.net/wiki
nameOnePipe 2.0 - Notifications
pageid293601484
timestamp1586303130640

Interface specification - (Provider Service → OnePipe Listener)

Request (transaction_info)

Code Block
languagejson
...

Response (transaction_info)

Code Block
languagejson
...

Request (payment_fulfilment)

Code Block
languagejson
...

Response (payment_fulfilment)

Code Block
languagejson
...

Request (transaction_notification)

Code Block
languagejson
...

Response (transaction_notification)

Code Block
languagejson
...

Interface specification - (OnePipe Listener → App Webhook)

Request (transaction_info)

Code Block
languagejson
...

Response (transaction_info)

Code Block
languagejson
...

Request (payment_fulfilment)

Code Block
languagejson
...

Response (payment_fulfilment)

Code Block
languagejson
...

Request (transaction_notification)

Code Block
languagejson
...

Response (transaction_notification)

Code Block
languagejson
...

Headers to expect (OnePipe Listener → App Webhook)

Type

Description

Possible response codes (OnePipe Listener → Provider Service)

For this service, these are the possible responses a provider service can receive

Response code

Meaning

Special notes for providers

Unlike other services where the app calls OnePipe, in this case, the Provid should be seen as a standard payments service. All providers are required to execute settlement per agreed contracts to the account designated by the client bank.

...