[api] create payment api with meta info