Launch your next
with our help
We deploy our API infrastructure in partnership with banks and licensed financial institutions to create new product experiences very quickly



Some of our partnerships

How it works

Describe your vision
Provide some information about your business, the objective you are looking to achieve and what may have been the blocker up to this point

We'd deploy our middleware
We'd deploy our middleware software around your APIs and core business systems, presenting a standardized set of APIs as output

We'd develop your use case
We have a suite of products that can easily be plugged into these standardized API endpoints. We configure and brand the right ones for your use case

We jointly drive go-to-market
We'd work with you to drive adoption and run operations going forward. Including deploying our capital and resources for the effort
Still have a question? Browse documentation or submit a ticket
Trusted by these amazing companies






Feature products

Don't want prebuilt products? You can embed via APIs
Our end-to-end API integration is the fastest and simplest way for your business to launch financial service features. We use our Banking-as-a-service tool to help you improve the user experience of clients on your platform, while fostering innovation and profitable collaboration.
curl --location --request POST 'https://api.onepipe.io/v2/transact' \
--header 'Authorization: Bearer dthEjKlKSL30mNVwbpne_0e1a5973b7a2430bbc6d2f6032ea17f1' \
--header 'Signature: 3a2b58350e8068507e6b5bff106850a5' \
--header 'Content-Type: application/json' \
--data-raw '{
"request_ref":"111111111",
"request_type":"get_accounts_min",
"auth": {
"type": "card",
"secure": "s2LsV7Ka2mi6SLbjuDIVmrxANCldBJFxAZ5Y0ckQnXs=",
"auth_provider": "Demoprovider",
"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": "DemoApp_Customer007",
"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": {
"otp_override": true
}
}
}'
curl --location --request POST 'https://api.onepipe.io/v2/transact' \
--header 'Authorization: Bearer dthEjKlKSL30mNVwbpne_0e1a5973b7a2430bbc6d2f6032ea17f1' \
--header 'Signature: 3a2b58350e8068507e6b5bff106850a5' \
--header 'Content-Type: application/json' \
--data-raw '{
"request_ref":"111111111",
"request_type":"lookup_nin_mid",
"auth": {
"type": "nin",
"secure": "{{auth.nin}}",
"auth_provider": "Demoprovider",
"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": "DemoApp_Customer007",
"firstname": "Uju",
"surname": "Usmanu",
"email": "ujuusmanu@gmail.com",
"mobile_no": "234802343132"
},
"meta":{
"a_key":"a_meta_value_1",
"b_key":"a_meta_value_2"
},
"details": {
}
}
}'
curl --location --request POST 'https://api.onepipe.io/v2/transact' \
--header 'Authorization: Bearer dthEjKlKSL30mNVwbpne_0e1a5973b7a2430bbc6d2f6032ea17f1' \
--header 'Signature: 3a2b58350e8068507e6b5bff106850a5' \
--header 'Content-Type: application/json' \
--data-raw '{
"request_ref": "111111111",
"request_type": "open_account",
"auth": {
"type": null,
"secure": null,
"auth_provider": "Demoprovider",
"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": "DemoApp_Customer007",
"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": {
"name_on_account": "Tobi Olajide",
"middlename": "string",
"otp_override": true,
"dob": "yyyy-MM-dd-HH-mm-ss",
"gender": "M",
"title": "Mr",
"address_line_1": "23, Okon street, Ikeja",
"address_line_2": "Ikeja",
"city": "lagos",
"state": "lagos",
"country": "NG"
}
}
}'
curl --location --request POST 'https://api.onepipe.io/v2/transact' \
--header 'Authorization: Bearer dthEjKlKSL30mNVwbpne_0e1a5973b7a2430bbc6d2f6032ea17f1' \
--header 'Signature: 3a2b58350e8068507e6b5bff106850a5' \
--header 'Content-Type: application/json' \
--data-raw '{
"request_ref":"111111111",
"request_type":"get_statement",
"auth": {
"type": "bank.account",
"secure": "s2LsV7Ka2mi6SLbjuDIVmrxANCldBJFxAZ5Y0ckQnXs=",
"auth_provider": "Demoprovider",
"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": "DemoApp_Customer007",
"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": {
"start_date": "2019-06-01",
"end_date": "2019-06-01",
"otp_override": true
}
}
}'
curl --location --request POST 'https://api.onepipe.io/v2/transact' \
--header 'Authorization: Bearer dthEjKlKSL30mNVwbpne_0e1a5973b7a2430bbc6d2f6032ea17f1' \
--header 'Signature: 3a2b58350e8068507e6b5bff106850a5' \
--header 'Content-Type: application/json' \
--data-raw '{
"request_ref":"111111111",
"request_type":"lookup_nuban",
"auth": {
"type": null,
"secure": null,
"auth_provider": "Demoprovider",
"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": "DemoApp_Customer007",
"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"
}
}
}'
curl --location --request POST 'https://api.onepipe.io/v2/transact' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer dthEjKlKSL30mNVwbpne_0e1a5973b7a2430bbc6d2f6032ea17f1' \
--header 'Signature: 3a2b58350e8068507e6b5bff106850a5' \
--data-raw '{
"request_ref":"111111111",
"request_type":"collect",
"auth": {
"type": "bank.account",
"secure": "s2LsV7Ka2mi6SLbjuDIVmrxANCldBJFxAZ5Y0ckQnXs=",
"auth_provider": "DemoProvider",
"route_mode":null
},
"transaction": {
"mock_mode": "inspect",
"transaction_ref": "{{transaction-ref}}",
"transaction_desc": "A random transaction",
"transaction_ref_parent": "",
"amount": 10000,
"customer":{
"customer_ref": "Jhon",
"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
}
}'
curl --location --request POST 'https://api.onepipe.io/v2/transact' \
--header 'Authorization: Bearer dthEjKlKSL30mNVwbpne_0e1a5973b7a2430bbc6d2f6032ea17f1' \
--header 'Signature: 3a2b58350e8068507e6b5bff106850a5' \
--header 'Content-Type: application/json' \
--data-raw '{
"request_ref": "111111111",
"request_type": "disburse",
"auth": {
"type": null,
"secure": null,
"auth_provider": "Demoprovider",
"route_mode": null
},
"transaction": {
"mock_mode": "live",
"transaction_ref": "{{transaction-ref}}",
"transaction_desc": "A random transaction",
"transaction_ref_parent": null,
"amount": 1000,
"customer": {
"customer_ref": "DemoApp_Customer007",
"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": {
"destination_account": "2363262632",
"destination_bank_code": "011"
}
}
}'
curl --location --request POST 'https://api.onepipe.io/v2/transact' \
--header 'Authorization: Bearer dthEjKlKSL30mNVwbpne_0e1a5973b7a2430bbc6d2f6032ea17f1' \
--header 'Signature: 3a2b58350e8068507e6b5bff106850a5' \
--header 'Content-Type: application/json' \
--data-raw '{
"request_ref":"111111111",
"request_type":"get_balance",
"auth": {
"type": "bank.account",
"secure": "s2LsV7Ka2mi6SLbjuDIVmrxANCldBJFxAZ5Y0ckQnXs=",
"auth_provider": "Demoprovider",
"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": "DemoApp_Customer007",
"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": {
"otp_override": true
}
}
}'
curl --location --request POST 'https://api.onepipe.io/v2/transact/options' \
--header 'Authorization: Bearer dthEjKlKSL30mNVwbpne_0e1a5973b7a2430bbc6d2f6032ea17f1' \
--header 'Signature: 3a2b58350e8068507e6b5bff106850a5' \
--header 'Content-Type: application/json' \
--data-raw '{
"request_ref":"111111111",
"request_type":"get_a_loan",
"auth": {
"type": null,
"secure": null,
"auth_provider": "Demoprovider",
"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": "DemoApp_Customer007",
"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": { }
}
}'
curl --location --request POST 'https://api.onepipe.io/v2/transact' \
--header 'Authorization: Bearer dthEjKlKSL30mNVwbpne_0e1a5973b7a2430bbc6d2f6032ea17f1' \
--header 'Signature: 3a2b58350e8068507e6b5bff106850a5' \
--header 'Content-Type: application/json' \
--data-raw '{
"request_ref":"111111111",
"request_type":"get_a_loan",
"auth": {
"type": "bank.account",
"secure": "s2LsV7Ka2mi6SLbjuDIVmrxANCldBJFxAZ5Y0ckQnXs=",
"auth_provider": "Demoprovider",
"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": "DemoApp_Customer007",
"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": {
"lender_code": "129930093",
"lender_product_code": "3290039",
"lender_offer_id": "offer-007",
"consent_token": "W4236777yxref$12",
"destination_account": "00001111222",
"destination_bank_code": "011"
}
}
}'
curl --location --request POST 'https://api.onepipe.io/v2/transact/options' \
--header 'Authorization: Bearer dthEjKlKSL30mNVwbpne_0e1a5973b7a2430bbc6d2f6032ea17f1' \
--header 'Signature: 3a2b58350e8068507e6b5bff106850a5' \
--header 'Content-Type: application/json' \
--data-raw '{
"request_ref":"111111111",
"request_type":"buy_airtime",
"auth": {
"type": "wallet",
"secure": "s2LsV7Ka2mi6SLbjuDIVmrxANCldBJFxAZ5Y0ckQnXs=",
"auth_provider": "Demoprovider",
"route_mode":null
},
"transaction": {
"mock_mode": "live",
"transaction_ref": "{{transaction-ref}}",
"transaction_desc": "A random transaction",
"transaction_ref_parent": "",
"amount": 10000,
"customer":{
"customer_ref": "DemoApp_Customer007",
"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": {
"telco_code": "mtn"
}
}
}'

Add financial services to your platform with our embedded banking APIs
Our end-to-end API integration is the fastest and simplest way for your business to launch financial service features. We use our Banking-as-a-service tool to help you improve the user experience of clients on your platform, while fostering innovation and profitable collaboration.
Ready to get
get started with us?
Get the right service, determine what you need contact us for the most suitable services.
Trusted by these amazing companies






Don't want prebuilt products? You can embed via APIs
Our end-to-end API integration is the fastest and simplest way for your business to launch financial service features. We use our Banking-as-a-service tool to help you improve the user experience of clients on your platform, while fostering innovation and profitable collaboration.
curl --location --request POST 'https://api.onepipe.io/v2/transact' \
--header 'Authorization: Bearer dthEjKlKSL30mNVwbpne_0e1a5973b7a2430bbc6d2f6032ea17f1' \
--header 'Signature: 3a2b58350e8068507e6b5bff106850a5' \
--header 'Content-Type: application/json' \
--data-raw '{
"request_ref":"111111111",
"request_type":"get_accounts_min",
"auth": {
"type": "card",
"secure": "s2LsV7Ka2mi6SLbjuDIVmrxANCldBJFxAZ5Y0ckQnXs=",
"auth_provider": "Demoprovider",
"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": "DemoApp_Customer007",
"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": {
"otp_override": true
}
}
}'
curl --location --request POST 'https://api.onepipe.io/v2/transact' \
--header 'Authorization: Bearer dthEjKlKSL30mNVwbpne_0e1a5973b7a2430bbc6d2f6032ea17f1' \
--header 'Signature: 3a2b58350e8068507e6b5bff106850a5' \
--header 'Content-Type: application/json' \
--data-raw '{
"request_ref":"111111111",
"request_type":"lookup_nin_mid",
"auth": {
"type": "nin",
"secure": "{{auth.nin}}",
"auth_provider": "Demoprovider",
"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": "DemoApp_Customer007",
"firstname": "Uju",
"surname": "Usmanu",
"email": "ujuusmanu@gmail.com",
"mobile_no": "234802343132"
},
"meta":{
"a_key":"a_meta_value_1",
"b_key":"a_meta_value_2"
},
"details": {
}
}
}'
curl --location --request POST 'https://api.onepipe.io/v2/transact' \
--header 'Authorization: Bearer dthEjKlKSL30mNVwbpne_0e1a5973b7a2430bbc6d2f6032ea17f1' \
--header 'Signature: 3a2b58350e8068507e6b5bff106850a5' \
--header 'Content-Type: application/json' \
--data-raw '{
"request_ref": "111111111",
"request_type": "open_account",
"auth": {
"type": null,
"secure": null,
"auth_provider": "Demoprovider",
"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": "DemoApp_Customer007",
"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": {
"name_on_account": "Tobi Olajide",
"middlename": "string",
"otp_override": true,
"dob": "yyyy-MM-dd-HH-mm-ss",
"gender": "M",
"title": "Mr",
"address_line_1": "23, Okon street, Ikeja",
"address_line_2": "Ikeja",
"city": "lagos",
"state": "lagos",
"country": "NG"
}
}
}'
curl --location --request POST 'https://api.onepipe.io/v2/transact' \
--header 'Authorization: Bearer dthEjKlKSL30mNVwbpne_0e1a5973b7a2430bbc6d2f6032ea17f1' \
--header 'Signature: 3a2b58350e8068507e6b5bff106850a5' \
--header 'Content-Type: application/json' \
--data-raw '{
"request_ref":"111111111",
"request_type":"get_statement",
"auth": {
"type": "bank.account",
"secure": "s2LsV7Ka2mi6SLbjuDIVmrxANCldBJFxAZ5Y0ckQnXs=",
"auth_provider": "Demoprovider",
"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": "DemoApp_Customer007",
"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": {
"start_date": "2019-06-01",
"end_date": "2019-06-01",
"otp_override": true
}
}
}'
curl --location --request POST 'https://api.onepipe.io/v2/transact' \
--header 'Authorization: Bearer dthEjKlKSL30mNVwbpne_0e1a5973b7a2430bbc6d2f6032ea17f1' \
--header 'Signature: 3a2b58350e8068507e6b5bff106850a5' \
--header 'Content-Type: application/json' \
--data-raw '{
"request_ref":"111111111",
"request_type":"lookup_nuban",
"auth": {
"type": null,
"secure": null,
"auth_provider": "Demoprovider",
"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": "DemoApp_Customer007",
"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"
}
}
}'
curl --location --request POST 'https://api.onepipe.io/v2/transact' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer dthEjKlKSL30mNVwbpne_0e1a5973b7a2430bbc6d2f6032ea17f1' \
--header 'Signature: 3a2b58350e8068507e6b5bff106850a5' \
--data-raw '{
"request_ref":"111111111",
"request_type":"collect",
"auth": {
"type": "bank.account",
"secure": "s2LsV7Ka2mi6SLbjuDIVmrxANCldBJFxAZ5Y0ckQnXs=",
"auth_provider": "DemoProvider",
"route_mode":null
},
"transaction": {
"mock_mode": "inspect",
"transaction_ref": "{{transaction-ref}}",
"transaction_desc": "A random transaction",
"transaction_ref_parent": "",
"amount": 10000,
"customer":{
"customer_ref": "Jhon",
"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
}
}'
curl --location --request POST 'https://api.onepipe.io/v2/transact' \
--header 'Authorization: Bearer dthEjKlKSL30mNVwbpne_0e1a5973b7a2430bbc6d2f6032ea17f1' \
--header 'Signature: 3a2b58350e8068507e6b5bff106850a5' \
--header 'Content-Type: application/json' \
--data-raw '{
"request_ref": "111111111",
"request_type": "disburse",
"auth": {
"type": null,
"secure": null,
"auth_provider": "Demoprovider",
"route_mode": null
},
"transaction": {
"mock_mode": "live",
"transaction_ref": "{{transaction-ref}}",
"transaction_desc": "A random transaction",
"transaction_ref_parent": null,
"amount": 1000,
"customer": {
"customer_ref": "DemoApp_Customer007",
"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": {
"destination_account": "2363262632",
"destination_bank_code": "011"
}
}
}'
curl --location --request POST 'https://api.onepipe.io/v2/transact' \
--header 'Authorization: Bearer dthEjKlKSL30mNVwbpne_0e1a5973b7a2430bbc6d2f6032ea17f1' \
--header 'Signature: 3a2b58350e8068507e6b5bff106850a5' \
--header 'Content-Type: application/json' \
--data-raw '{
"request_ref":"111111111",
"request_type":"get_balance",
"auth": {
"type": "bank.account",
"secure": "s2LsV7Ka2mi6SLbjuDIVmrxANCldBJFxAZ5Y0ckQnXs=",
"auth_provider": "Demoprovider",
"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": "DemoApp_Customer007",
"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": {
"otp_override": true
}
}
}'
curl --location --request POST 'https://api.onepipe.io/v2/transact/options' \
--header 'Authorization: Bearer dthEjKlKSL30mNVwbpne_0e1a5973b7a2430bbc6d2f6032ea17f1' \
--header 'Signature: 3a2b58350e8068507e6b5bff106850a5' \
--header 'Content-Type: application/json' \
--data-raw '{
"request_ref":"111111111",
"request_type":"get_a_loan",
"auth": {
"type": null,
"secure": null,
"auth_provider": "Demoprovider",
"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": "DemoApp_Customer007",
"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": { }
}
}'
curl --location --request POST 'https://api.onepipe.io/v2/transact' \
--header 'Authorization: Bearer dthEjKlKSL30mNVwbpne_0e1a5973b7a2430bbc6d2f6032ea17f1' \
--header 'Signature: 3a2b58350e8068507e6b5bff106850a5' \
--header 'Content-Type: application/json' \
--data-raw '{
"request_ref":"111111111",
"request_type":"get_a_loan",
"auth": {
"type": "bank.account",
"secure": "s2LsV7Ka2mi6SLbjuDIVmrxANCldBJFxAZ5Y0ckQnXs=",
"auth_provider": "Demoprovider",
"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": "DemoApp_Customer007",
"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": {
"lender_code": "129930093",
"lender_product_code": "3290039",
"lender_offer_id": "offer-007",
"consent_token": "W4236777yxref$12",
"destination_account": "00001111222",
"destination_bank_code": "011"
}
}
}'
curl --location --request POST 'https://api.onepipe.io/v2/transact/options' \
--header 'Authorization: Bearer dthEjKlKSL30mNVwbpne_0e1a5973b7a2430bbc6d2f6032ea17f1' \
--header 'Signature: 3a2b58350e8068507e6b5bff106850a5' \
--header 'Content-Type: application/json' \
--data-raw '{
"request_ref":"111111111",
"request_type":"buy_airtime",
"auth": {
"type": "wallet",
"secure": "s2LsV7Ka2mi6SLbjuDIVmrxANCldBJFxAZ5Y0ckQnXs=",
"auth_provider": "Demoprovider",
"route_mode":null
},
"transaction": {
"mock_mode": "live",
"transaction_ref": "{{transaction-ref}}",
"transaction_desc": "A random transaction",
"transaction_ref_parent": "",
"amount": 10000,
"customer":{
"customer_ref": "DemoApp_Customer007",
"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": {
"telco_code": "mtn"
}
}
}'