USSD API
USSD investment products
GET
curl --request GET \ --url https://api.staging.pipevest.com/v1/ussd/assets?customerId=123456 --header 'Authorization: Bearer 123456' \ --header 'Signature: sig1=:OTEyMjY4...A5NTNDMEQ=:' \ --header 'Signature-Input: sig1=("Authorization" "X-Client-Id" "@method" "@target-uri" "@path" "@query");keyid="staging-pipevest-ed25519";created=1732893484;expires=1732893584' \ --header 'X-Client-Id: 123456' \
{ "data": { "ussdMessage": "My assets:\n 1.Apple (APPL)\n 2.Tesla (TSLA)\n 3.Microsoft (MSFT)\n 4. Coco-cola (KO)\n 5. View More Assets\n 6.Back", "ussdOptions": [ { "option": 1, "requestUrl": "https://api.staging.pipevest.com/v1/ussd/assets?customerId=123456&assetId=123456", "requestType": "GET" }, ... { "option": 5, "requestUrl": "https://api.staging.pipevest.com/v1/ussd/assets?customerId=123456&page=2", "requestType": "GET" }, { "option": 6, "requestUrl": "https://api.staging.pipevest.com/v1/ussd/portfolio?customerId=123456", "requestType": "GET" } ] }, "code": 200, "message": "Success" }
curl --request GET \ --url https://api.staging.pipevest.com/v1/ussd/assets?customerId=123456&page=2 ...
customerId
Yes
page
1
No