func SetStatus(ctx context.Context, id string, status int) error {
	_, err := pgctx.Exec(ctx, `
		update payments
		set status = $2,
		    updated_at = now(),
		    at = now()
		where id = $1
	`, id, status)
	return err
}
SetStatus sets payment status
package payment
import (
	"context"
	"github.com/acoshift/pgsql/pgctx"
)
const (
	Pending = iota
	Accepted
	Rejected
	Refunded
)