Versions Compared

Key

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

Overview

With this service, the calling apps can take customer ref and return an unmasked list of accounts linked to it as well as extended data per account. Apps will collect the customer ref they will like to obtain information on and forward to OnePipe. If authorisation details are required by a provider, apps will have to provide this. OnePipe will in turn forward to the provider’s dedicated implementation.

...

Gliffy
macroId
imageAttachmentIdatt32243723
macroIda9d3d285-2916-4123-9e93-236a130f390f
baseUrlhttps://onepipe.atlassian.net/wiki
a9d3d285-2916-4123-9e93-236a130f390fnameOnePipe 2.0 Collect Service
diagramAttachmentIdatt32210953
containerId32243713
timestamp1581541309221

...

Code Block
languagejson
{
  "request_ref":"{{request_ref}}", 
  "request_type":"get_accounts_max",
  "auth": {
    "type": "bank.account | card | wallet | null", 
    "secure": "{{encrypted_secure}}",
    "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}}", //the customer ref to lookup
    	"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": null
  }
}

...

Code Block
languagejson
{
    "status": "Successful",
    "message": "Transaction processed successfully",
    "data": {
        "provider_response_code": "00",
        "provider": "Beeceptor",
        "errors": null,
        "error": null,
        "provider_response": {
            "accounts": [
                {
                    "account_number": "00999999000",
                    "account_name": "Ola Waheed",
                    "bank_name": "FBN",
                    "bank_code": "011",
                    "extended_data{
                      "a_key": "a_value
                    }
                },
                {
                    "account_number": "0099999000",
                    "account_name": "Ola Waheed",
                    "bank_name": "FBN",
                    "bank_code": "011",
                    "extended_data{
                      "a_key": "a_value
                    }
                }
            ],
            "reference": "000022200225154318222333334432",
            "meta":{
              "field_key":"field_value",
              "field_key": null"field_value"
            }
        }
    }
}

Request (validate with otp)

...