add pay api