payment API done