## how to make Instant Payment Forwarding

0

so basicly im using block io API. this is the respond:

{
"status" : "success",
"data" : {
"network" : "BTC",
"forwarding_private_key" : "L1xyqqzeM3V9mX2Cq75gudcD6HV7Vt6FfXzCEjQ5yKTH7wu43yhL",
}
}


this is a JSON right,,?? now i want to show only forwarding_address to user using javascript or PHP. can someone show me how to doit.

Question was closed 2015-09-10T11:59:44.163

I'm voting to close this question as off-topic because extracting substrings is by not a Cryptocurrency specific task, and should be easy to find on Stackoverflow. See for example: extracting data from json string.

– Murch – 2015-09-10T11:59:44.163

Are you asking how to decode the JSON? Unless I'm missing something, that would just be json_decode(\$response)['data']['forwarding_address']