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.

Settlement & fees model

Model

How it works

Invoice

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

Special configuration notes

This service does not need an OTP implementation as it’s a low risk lookup. A card lookup service.

Process flows

Sequence of calls

  1. App calls /transact with the account number they want to lookup in the details object. auth.type is expected to be null.

  2. Provider responds with any of the completion codes Successful or Failed.

Gliffy
imageAttachmentIdatt181239815
macroIdd52fb001-9cb0-4572-b4f8-69873883b98c
baseUrlhttps://onepipe.atlassian.net/wiki
nameOnePipe 2.0 Lookup NUBAN Service
diagramAttachmentIdatt181436417
containerId150044770
timestamp1582630159960

INTERFACE SPECIFICATION (APP → ONEPIPE)

Request

Code Block
languagejson
{
  "request_ref":"{{request_ref}}", 
  "request_type":"lookup_cardcards",
  "auth": {
    "type": null,
    "secure": null,
    "auth_provider": "Beeceptor",
    "route_mode": null
  },
  "transaction": {
    "mock_mode": "live", 
    "transaction_ref": "{{transaction_ref}}", 
    "transaction_desc": "A random transaction", 
    "transaction_ref_parent": null, 
    "amount": 0,
    "customer":{
    	"customer_ref": "{{customer_id}}", // Major Parameter to be used on the provider
    	"firstname": "Uju",
        "surname": "Usmanu",
    	"email": "ujuusmanu@gmail.com",
    	"mobile_no": "234802343132"
    },
    "meta":{
    	"a_key":"a_meta_value_1",
    	"another_key":"a_meta_value_2"
    },
    "details": {
    	"account_number":"3065570057"
    }
  }
}

Response

Code Block
languagejson
{
    "status": "Successful",
    "message": "Transaction processed successfully",
    "data": {
        "provider_response_code": "00",
        "provider": "Beeceptor",
        "errors": null,
        "error": null,
        "provider_response": {
            "cards": [
                {
                    "sourceOfFunds": {
                        "provided": {
                            "card": {
                                "brand": "MASTERCARD",
                                "expiry": "0521",
                                "fundingMethod": "DEBIT",
                                "issuer": "FISERV SOLUTIONS, LLC",
                                "number": "511111xxxxxx1118",
                                "scheme": "MASTERCARD"
                            }
                        },
                        "type": "CARD"
                    },
                    "status": "VALID",
                    "token": "9327691266219107",
                    "usage": {
                        "lastUpdated": "2020-07-28T12:47:33.698Z",
                        "lastUpdatedBy": "OLTIO4MTN1",
                        "lastUsed": "2020-07-28T12:47:33.709Z"
                    },
                    "verificationStrategy": "BASIC"
                },
            ],
            "reference": "000022200225154318222333334432",
            "meta":{
              "field_key":"field_value",
              "field_key":"field_value"
            }
        }
    }
}

Breakdown of the details object

For this service, the details object will have the following:

Field

Type

Requirement

Description

account_number

string

optional

The account number to lookup.

Possible status response codes

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

Status

Meaning

Successful

Standard success code

Failed

Standard failure code

Acceptable values for auth.type

This would be null.

INTERFACE SPECIFICATION (ONEPIPE → PROVIDER MICRO SERVICE)

Info

Request payload from OnePipe to the provider microservice comes encrypted, using the Triple DES Algorithm. See details.

...