How to upgrade the API to version 4.0

I have bound payment to the API, but it’s still not working.