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 |
---|
imageAttachmentId | att32243723 |
---|
macroId | a9d3d285-2916-4123-9e93-236a130f390f |
---|
baseUrl | https://onepipe.atlassian.net/wiki | macroId |
---|
a9d3d285-2916-4123-9e93-236a130f390f | name | OnePipe 2.0 Collect Service |
---|
diagramAttachmentId | att32210953 |
---|
containerId | 32243713 |
---|
timestamp | 1581541309221 |
---|
|
...
Code Block |
---|
|
{
"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 |
---|
|
{
"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)
...